Help for this page

Select Code to Download


  1. or download this
    #!perl
    
    ...
        $found = 0;
        @words = 0;
    }
    
  2. or download this
    Applying pattern match (m//) to @array will act on scalar(@array) at C
    +:\blah\vertailu2.pl line 24.
    Global symbol "$fh" requires explicit package name at C:\blah\vertailu
    +2.pl line 8.
    Execution of C:\blah\vertailu2.pl aborted due to compilation errors.
    
  3. or download this
        if ( @col2 =~ m/$words[$_](\d+)/ ) {
            $found++;
            @words++;
        }