Help for this page

Select Code to Download


  1. or download this
    $command = "(do this && do that) >/dev/null 2>&1";
    
  2. or download this
    close STDOUT;
    
    ...
    # you might want to check what got put into $variable...
    
    open STDOUT, '>-';  # reopen the real stdout