Clownburner has asked for the wisdom of the Perl Monks concerning the following question:
There must be a simpler way. Please share with me what it is, as I am unable to figure it out. Thanks in advance.$string = join('-',unpack('A4 A4',pack('A*',$string)));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Adding formatting to a string
by Sidhekin (Priest) on Jun 16, 2004 at 01:57 UTC | |
by Anonymous Monk on Jun 16, 2004 at 07:23 UTC | |
|
Re: Adding formatting to a string
by Not_a_Number (Prior) on Jun 16, 2004 at 07:38 UTC | |
|
Re: Adding formatting to a string
by ambrus (Abbot) on Jun 16, 2004 at 09:17 UTC | |
|
Re: Adding formatting to a string
by Anonymous Monk on Jun 16, 2004 at 10:31 UTC | |
|
Re: Adding formatting to a string
by injunjoel (Priest) on Jun 17, 2004 at 17:07 UTC | |
|
Re: Adding formatting to a string
by melora (Scribe) on Jun 17, 2004 at 16:47 UTC | |
|
Re: Adding formatting to a string
by Anonymous Monk on Jun 16, 2004 at 11:18 UTC | |
by Roy Johnson (Monsignor) on Jun 16, 2004 at 14:53 UTC | |
by Anonymous Monk on Jun 16, 2004 at 22:12 UTC | |
by belden (Friar) on Jun 17, 2004 at 21:51 UTC |