Help for this page

Select Code to Download


  1. or download this
    # nasty.pl
    
    ...
    }
    
    __END__
    
  2. or download this
    % echo 'just another one-line file' > one-line_file
    % yes junk | head -3 | perl nasty.pl one-line_file
    ...
    second loop: junk
    second loop: junk
    second loop: junk