Help for this page

Select Code to Download


  1. or download this
    1st line
    2nd line, next line is just a newline
    ...
    4th line, next line spaces and newline
       
    6th and last line
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    close $inFH
       or die qq{close: $inFile: $!\n};
    
  3. or download this
    -->1st line<--
    -->2nd line, next line is just a newline<--
    -->4th line, next line spaces and newline<--
    -->   <--
    -->6th and last line<--
    
  4. or download this
    ...
    while (<$inFH>)
    ...
        print qq{-->$_<--\n};
    }
    ...
    
  5. or download this
    -->1st line<--
    -->2nd line, next line is just a newline<--
    -->4th line, next line spaces and newline<--
    -->6th and last line<--