Help for this page
$cmd = 'del nonexistent.file';
chomp($res = `$cmd 2>&1`);
print "\n[Command is :: ", $cmd, "]\n[RESULT:: ", $res,"]\n\n";
[Command is :: del nonexistent.file]
[RESULT:: Could Not Find C:\My Documents\foo\Perl\dl\debug\nonexistent
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (512 votes). Check out past polls.