Help for this page

Select Code to Download


  1. or download this
    while ( <FH> ) {
        next if $_ eq 'foo'; # Where foo can only appear once in the file
        print;
    }
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
            $block->();
        }
    }