Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 ( #582009=note: print w/ replies, xml ) Need Help??


in reply to Re: getting a problem when I use which command with system function
in thread getting a problem when I use which command with system function

Tried it as well:

# Debian and CentOS Linux: perl -e 'system("which ls");' /bin/ls
Only on windows it did not work, since i use cygwin to perform most linux like functions...
U:\>perl -e 'system("which ls");' /usr/bin/ls U:\>/bin/ls The system cannot find the path specified. U:\>
What os are you using?
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.


Comment on Re^2: getting a problem when I use which command with system function
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-09-22 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (178 votes), past polls