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

Re^3: Regexp substitution using variables (updated)

by AnomalousMonk (Archbishop)
on Nov 26, 2020 at 03:19 UTC ( [id://11124246]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Win8 Strawberry 5.8.9.5 (32)  Wed 11/25/2020 22:12:13
    C:\@Work\Perl\monks
    ...
    ^Z
    replacement 'New \U$1'
    My New TESTING Text
    
  2. or download this
    Win8 Strawberry 5.8.9.5 (32)  Wed 11/25/2020 22:45:44
    C:\@Work\Perl\monks
    ...
    replacement 'New \U$1'
    eval_string '$value =~ s/(testing)/New \U$1/i'
    My New TESTING Text
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-24 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found