Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Replacing matches within string without splitting.

by walkingthecow (Friar)
on Jan 02, 2013 at 07:26 UTC ( #1011220=note: print w/replies, xml ) Need Help??


in reply to Re: Replacing matches within string without splitting.
in thread Replacing matches within string without splitting.

That worked beautifully (in Perl 5.8 without Modern::Perl)! Thank you :)
$channels =~ s{\b(\d)\b}{0$1}g;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011220]
help
Chatterbox?
[pryrt]: Is there a way to search for/list "nodes I've voted on"? (I thought there was, but cannot find it now)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2017-03-29 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (351 votes). Check out past polls.