Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: retrieve the value of a system call in a non blocking mode

by taint (Chaplain)
on Dec 06, 2013 at 14:14 UTC ( [id://1065982]=note: print w/replies, xml ) Need Help??


in reply to Re^3: retrieve the value of a system call in a non blocking mode
in thread Do not display the command result in the console (updated)

Greetings, kcott.

Odd. It seemed to work for me. In fact, it was by virtue of testing it. That I discovered what I termed as being a HOMER moment above, was wrong.

I'm afraid I was so embarrassed by the earlier example. I corrected it. Bad choice. I'd return it. But, now, I'm afraid I'll just mess up the order worse.

So for the sake of clarity. I'll post my HOMER moment here:

system("echo test > myfile.txt") or die $!;
Sorry for messing things up. I'll just "suck up", and eat my mistakes in the future. Or better, take more care not make any. ;)

Best wishes.

--Chris

Hey. I'm not completely useless. I can be used as a bad example.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-26 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found