i am using the following bit of code:
my $return = qx/$cmd/;
this works wonderfully for stdout of the system command contained in $cmd. however, i also need to cature stderr. imbedding 2>&1 into $cmd isn't working. i am aware of ipc::open3 but am not having any luck convincing him-who-installs-perl-modules to take any action.
are there any alternatives or suggestions? - d
20050224 Janitored by Corion: Added code tags, formatting
In reply to qx and stderr by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |