Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: getting a problem when I use which command with system function

by jbrugger (Parson)
on Nov 03, 2006 at 05:42 UTC ( [id://582009]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Debian and CentOS Linux:
    perl -e 'system("which ls");'
    /bin/ls
    
  2. or download this
    U:\>perl -e 'system("which ls");'
    /usr/bin/ls
    ...
    The system cannot find the path specified.
    
    U:\>
    

Log In?
Username:
Password:

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

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

    No recent polls found