Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $text=<TEXTFILE>; # Slurp the whole file into one string
    
    print "Matched!" if $text=~/match/;
    
  2. or download this
    perldoc perlretut
    perldoc perlopentut
    perldoc perlre
    perldoc perlop
    perldoc perlvar