Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^6: substitute characters in the RHS of a search & replace

by AnomalousMonk (Canon)
on Mar 09, 2013 at 21:04 UTC ( #1022624=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "sub rx (&@) {
    ...
    p_q_rx_y_z_z_y
    'Here are [[a [[ variable]] number [[of ]words]] in brackets'
    'Here are a_[[_variable number of_]words in brackets'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022624]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-01-18 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (159 votes). Check out past polls.