walkingthecow has asked for the wisdom of the Perl Monks concerning the following question:
if ( $channels =~ /(\d,)(\d,)(\d,)(\d)/ ) { $channels = "0${1}0${2}0${3}0$4"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Replacing matches within string without splitting.
by Athanasius (Archbishop) on Jan 02, 2013 at 06:44 UTC | |
by walkingthecow (Friar) on Jan 02, 2013 at 07:26 UTC | |
|
Re: Replacing matches within string without splitting.
by BrowserUk (Patriarch) on Jan 02, 2013 at 06:44 UTC | |
|
Re: Replacing matches within string without splitting.
by NetWallah (Canon) on Jan 02, 2013 at 06:44 UTC | |
|
Re: Replacing matches within string without splitting.
by 2teez (Vicar) on Jan 02, 2013 at 06:39 UTC | |
|
Re: Replacing matches within string without splitting.
by johngg (Canon) on Jan 02, 2013 at 09:56 UTC | |
|
Re: Replacing matches within string without splitting.
by Anonymous Monk on Jan 02, 2013 at 08:29 UTC | |
|
Re: Replacing matches within string without splitting.
by AnomalousMonk (Archbishop) on Jan 02, 2013 at 18:37 UTC |