Help for this page

Select Code to Download


  1. or download this
     
    my $cmd = '/this/is/a/command -sdfw';
    my $result = `$cmd 2>&1`;
    do_something() if ($result =~ /regex/);