Help for this page

Select Code to Download


  1. or download this
    $ cat test1.pl
    #!/usr/bin/perl
    ...
    two
    three
    
  2. or download this
    unshift(@ARGV, '-') unless @ARGV;
        while ($ARGV = shift) {
    ...
            ...        # code for each line
        }
        }