Help for this page

Select Code to Download


  1. or download this
    while ( <FH> ) {
        last if $_ eq 'foo'; # Where foo can only appear once in the file
    ...
    while ( <FH> ) {
        print;
    }