Help for this page

Select Code to Download


  1. or download this
    use Regexp::NamedCaptures;
    
    $_ = "three - four - five";
    /(\w+)\C{baz} - (\w+)\C{qux}/g;
    
    print "baz=$baz, qux=$qux\n";
    
  2. or download this
    package Regexp::NamedCaptures;
    use overload;
    
    ...
    }
    
    1;