Help for this page

Select Code to Download


  1. or download this
    my $file = $ARGV[0];
    
  2. or download this
    script.pl word file1 file2...
    
  3. or download this
    my $word = shift;
    while (<>) { # Reads the files line by line,
                 # ... $ARGV contains the filename.
    }