Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: -s test option returns differently in some cases

by Anonymous Monk
on Oct 14, 2013 at 09:32 UTC ( #1058158=note: print w/ replies, xml ) Need Help??


in reply to Re: -s test option returns differently in some cases
in thread -s test option returns differently in some cases

Also, the shell does its own interpolation ( see system, sh ), and instead try

system 'ls', '-l', $myAbsPathToFile;


Comment on Re^2: -s test option returns differently in some cases
Download Code
Replies are listed 'Best First'.
Re^3: -s test option returns differently in some cases
by frogsausage (Sexton) on Oct 14, 2013 at 10:21 UTC

    I just tried it and it works the same (as assumed) as my former system() call. The test result is "Good to go".

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (17)
As of 2015-07-29 16:43 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 (265 votes), past polls