Help for this page

Select Code to Download


  1. or download this
    sub printSumpn{
      local($handle, file) = ('RPT', '/tmp/report.txt');
    ...
      local($handle, $file) =@_;
      # ...do some logging and sanity checking...
      open($handle, ">$file")}
    
  2. or download this
     my $handle = *RPT;