Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Massive regexp search and replace

by holli (Monsignor)
on Feb 10, 2005 at 14:57 UTC ( #429751=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #list of regex-strings
    my @regex =
    ...
    
    #is now a list of subroutines
    @regex = map { eval "\$sub = sub { \$_=\$_[0]; $_; \$_ }" } @regex;
    
  2. or download this
    my @text = 
    (
    ...
        }
        print "new  $t\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-08-30 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls