in reply to Re: retrieve the value of a system call in a non blocking mode
in thread Do not display the command result in the console (updated)
or how would we have known it wasn't possible to open/create myfile.txt. ;)use strict; use warnings; system("echo test > myfile.txt" or die $!);
--Chris
UPDATE moved misplaced paren#!/usr/bin/perl -Tw
eval {
I'm not completely useless, I can be used as a bad example.
}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: retrieve the value of a system call in a non blocking mode
by kcott (Archbishop) on Dec 06, 2013 at 11:31 UTC | |
by taint (Chaplain) on Dec 06, 2013 at 14:14 UTC | |
|
Re^3: retrieve the value of a system call in a non blocking mode
by young_monk_love_perl (Novice) on Dec 05, 2013 at 22:22 UTC | |
by taint (Chaplain) on Dec 06, 2013 at 00:56 UTC | |
by young_monk_love_perl (Novice) on Dec 06, 2013 at 09:21 UTC | |
|
Re^3: retrieve the value of a system call in a non blocking mode
by VincentK (Beadle) on Dec 06, 2013 at 14:19 UTC |