Help for this page

Select Code to Download


  1. or download this
    # Redirect output from STDERR to STDOUT
    $out = `sox ... 2>&1`
    
  2. or download this
    {
        # Temporarily alias STDERR to STDOUT.
        local *STDERR = *STDOUT;
        $out = `sox blah.wav -e stat`;
    }
    print $out;