Help for this page

Select Code to Download


  1. or download this
    while (<>) {
         my_sub() if $. > $allowedlines;
         print;  # do the rest of your stuff
    }
    
  2. or download this
    my $count =0;
    while (<>) {
    ...
         }
         print;  # do the rest of your stuff
    }