in reply to add text to a string
Would this do?
That's warnings-tested, strict-approved. =)$str = 'bcde'; $new = join "" => a => split // => $str; # $new = 'abcde';
|
---|
In Section
Seekers of Perl Wisdom