Help for this page

Select Code to Download


  1. or download this
    # We need use re 'eval' because we use interpolation and (?{...})
    # in the same regexp. Beware of the implications of this directive.
    ...
       )+
       (?{ @matches = @{$^R}; })  # Success! Save the result.
    /x;
    
  2. or download this
    sub flatten_list {
       my ($rv, $p) = @_;
    ...
       )+
       (?{ flatten_list \@matches, $^R })
    /x;