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 IPlib auto.setuser`;


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to