Help for this page

Select Code to Download


  1. or download this
    redo if eof;
    
  2. or download this
    my ($i,$cnt);
    while (<$inhandle>) {
    ...
        last if $cnt;
        $cnt++, redo if eof;
    }
    
  3. or download this
    for (<$infile>,'AFTERFILE') { ... }