Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by Anonymous Monk
on Oct 14, 2013 at 09:30 UTC ( #1058157=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

Ideas?!

its right about halloween

well, the extra system is commented out, but I imagine if a sleep(1) accomplishes the same thing, you have your answer (delay)


Comment on Re^2: -s test option returns differently in some cases
Re^3: -s test option returns differently in some cases
by frogsausage (Sexton) on Oct 14, 2013 at 09:38 UTC

    Sleep gives me the error again.

    Halloween you said? No wonder why my comment to the empty system() statement is # trick or treat... fix for etc.

    Let me try your syntax for system. Since system is taking an array as argument, I'm providing an array of '1' with "ls -l ...".

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2014-11-27 16:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (186 votes), past polls