Help for this page

Select Code to Download


  1. or download this
      while ($res->content =~ m/\G.*?foo(.*?)bar/g) {
        print "$_ - $1\n";
      };
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    while ($string =~ m/\G.*?foo(.*?)bar/g) {
      print $1, "\n";
    };
    
  3. or download this
    H:\>perl -w test.pl
    A
    B
    DfooE