Help for this page

Select Code to Download


  1. or download this
    while(<@eachline>){
    
  2. or download this
    $ perl -MO=Deparse -e'while(<@eachline>){}'
    use File::Glob ();
    ...
        ();
    }
    -e syntax OK
    
  3. or download this
    $ perl -le'my @eachline = ( "one two three four\n", "five six seven ei
    +ght\n" ); while(<@eachline>){print}'
    one
    ...
    six
    seven
    eight
    
  4. or download this
    use strict; 
    use warnings;
    ...
    
    close $FILEHANDLE;