Help for this page

Select Code to Download


  1. or download this
    my $line_id = 0;
    LINE:
    ...
       # now parse the interesting part of the file
       ...
    }
    
  2. or download this
    { local $. = 0; do {} while ($. < $n && <$IN>); }
    while (my $line = <$IN>) {
      ...
    }