Help for this page

Select Code to Download


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