Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

System() in list mode?

by 1337John (Initiate)
on Oct 17, 2011 at 20:51 UTC ( [id://932008]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @a=("echo", "\$PATH");
    system(@a);
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    
    my @script = ("env", "PATH=\"foo\"", "bash", "$path/test.sh");
    system (@script);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://932008]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-25 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found