Help for this page

Select Code to Download


  1. or download this
    # your above script will work with this invocation:
    
    perlscript one two
    
  2. or download this
    #!/usr/bin/perl -n
    
    ...
    
    my @words = split;   # "split /\s+/, $_", more or less
    print "passed $_\n" for @words;