Help for this page

Select Code to Download


  1. or download this
    while (<>) {
        ...                     # code for each line
    }
    
  2. or download this
    unshift(@ARGV, '-') unless @ARGV;
    while ($ARGV = shift) {
    ...
            ...         # code for each line
        }
    }