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.