"Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message
3C4DB27B.15762.1FE92DCC@localhost">news:3C4DB27B.15762.1FE92DCC@localhost...
> From: "Kevin Kirwan" <[EMAIL PROTECTED]>
>
> > Guys,
> > I've got a newbie question: I'm writing a Perl program to get some
> > system information about
From: "Kevin Kirwan" <[EMAIL PROTECTED]>
> Guys,
> I've got a newbie question: I'm writing a Perl program to get some
> system information about particular users. The command(s):
> $command=q(/usr/bin/last vtran|head -1|awk '{print $4,$5}');
> $Last=system "$command"; print $La
On Jan 22, Kevin Kirwan said:
>$command=q(/usr/bin/last vtran|head -1|awk '{print $4,$5}');
>$Last=system "$command";
>print $Last;
>
>This returns the fields that I want, except I also get the return code (0),
No. This prints the fields you want when you call system(), and returns
the error co