Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
Just another Perl shrine
 
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
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 pondering the Monastery: (7)
As of 2014-04-18 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (460 votes), past polls