Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: qr// and user provided regex patterns...

by ikegami (Pope)
on Aug 04, 2009 at 03:24 UTC ( #785631=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $compd_pattern = eval "qr($pattern)" or die $@;
    
  2. or download this
    my $compd_pattern = qr($pattern);
    
  3. or download this
    my $pat  = ...;
    my $repl = ...;
    ...
    } else {
        s/$re/$repl/;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://785631]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2014-08-01 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (32 votes), past polls