Help for this page

Select Code to Download


  1. or download this
    while (<>) {
      ...
    }
    # check $! which is probably from the last close
    
  2. or download this
    while (<>) {
      ...
    ...
    }
    if (defined($!)) {
      # $! contains error from last <c>close