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.
}
In reply to Re^2: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |