Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # main program:
    ...
    'fred' =~ /^f(re)d$/;
    
    Fred::Fred();
    
  2. or download this
    #!/usr/bin/perl
    # fred.pm:
    ...
        print "$&\t$+\n";
    }
    1;
    
  3. or download this
    fred    re