Re: make yp oneliner

2002-07-03 Thread John W . Krahn
On Monday 01 July 2002 07:25, David vd Geer Inhuur tbv IPlib wrote: > Hi, Hello, > Does anyone know how to make it a one-liner ?? > > @regel = split(/ /, `ypmatch IPlib auto.setuser`); > chomp @regel; Use /\s+/ or ' ' instead of / / and you won't need chomp. my @regel = split ' ', `ypmatch IPl

Re: make yp oneliner

2002-07-01 Thread Peter Scott
At 04:25 PM 7/1/02 +0200, David vd Geer Inhuur tbv IPlib wrote: >Hi, > >Does anyone know how to make it a one-liner ?? > >@regel = split(/ /, `ypmatch IPlib auto.setuser`); >chomp @regel; "One-liners" are allowed to contain multiple statements. Of course, there's always @regel = split(/ /, `y

RE: make yp oneliner

2002-07-01 Thread David vd Geer Inhuur tbv IPlib
t; > [mailto:[EMAIL PROTECTED]] > > Sent: Monday, July 01, 2002 10:25 AM > > To: [EMAIL PROTECTED] > > Subject: make yp oneliner > > > > > > > > Hi, > > > > Does anyone know how to make it a one-liner ?? > > > > @regel

RE: make yp oneliner

2002-07-01 Thread Nikola Janceski
you should have seen this one coming. chomp( @regel = split(/ /, `ypmatch IPlib auto.setuser`) ); > -Original Message- > From: David vd Geer Inhuur tbv IPlib > [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 01, 2002 10:25 AM > To: [EMAIL PROTECTED] > Subject

make yp oneliner

2002-07-01 Thread David vd Geer Inhuur tbv IPlib
Hi, Does anyone know how to make it a one-liner ?? @regel = split(/ /, `ypmatch IPlib auto.setuser`); chomp @regel; If anyone has suggestion to use NIS within Perl that is welcome also (with examples :). Regs David -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai