Help for this page

Select Code to Download


  1. or download this
    my $cmd = 'ls';
    my $result = `$cmd`;
    
  2. or download this
    my $cmd = 'ls 2>&1';
    my $result = `$cmd`;