Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: shell to perl

by rbc (Curate)
on Jan 24, 2003 at 02:45 UTC ( #229522=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Re: Re: shell to perl
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://229522]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2015-07-28 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls