Help for this page

Select Code to Download


  1. or download this
      if( open( IN, '<', $somefile ) ) {
        # it's  there, do something with it
    ...
      else {
        warn "wasn't able to open $somefile (reason=$!)\n";
      }
    
  2. or download this
        process(*IN);
        sub process {
    ...
              ....
          }
        }