Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my @matches = $dat =~ /$re/g;
    P "#matches=%s, matches=%s", scalar(@matches), \@matches;
    exit scalar(@matches);
    
  2. or download this
    12:53 >perl 1645_SoPW.pl
    #matches=4, matches=["Just", "another", "cats", "meow"]
    
    12:54 >