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

Re^3: Function call in regex replacement string

by tilly (Archbishop)
on Feb 24, 2009 at 10:02 UTC ( [id://745951]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (@array) {
        s/$searchString/$replaceString/eeg;
    }
    
  2. or download this
    for (@array) {
        s/$searchString/$replace->()/eg;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-29 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found