in reply to Re: Re: shell to perl
in thread shell to perl

Uhm... No, it didn't. In your case, $env was set to the exit status of whoami(1), probably 0.
Yeah so ... does that mean it "didn't work"?
*Geez*
$ perl -e 'my $env = system( qq ( whoami )) ;' rbc $ perl -e 'my $env = system( qq ( whoru )) ;' wrong