in reply to
Adding formatting to a string
$string=~s/(....)/$1-/s;
[download]
Comment on
Re: Adding formatting to a string
Download
Code
In Section
Seekers of Perl Wisdom