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:
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. ;)system("echo test > myfile.txt") or die $!;
Best wishes.
--Chris
Hey. I'm not completely useless. I can be used as a bad example.
In reply to Re^4: retrieve the value of a system call in a non blocking mode
by taint
in thread Do not display the command result in the console (updated)
by young_monk_love_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |