Help for this page

Select Code to Download


  1. or download this
    sub qre (&;*) {
        my $re = shift->();
    ...
    print "$regex\n";
    __END__
    
  2. or download this
    sub qre :prototype(&;*) {
        my $re = shift->();
    ...
    my $regex = qre{ join '|', qw/foo bar/ }i;
    
    print "$regex\n";