Help for this page
Select Code to Download
Select
or
download this
my $output = qx("$command 2>&1"); if ($?) { # something wrong }