Welcome to the Monastery | |
PerlMonks |
Re: Re: substr and strings on the outsideby scott (Chaplain) |
on Aug 20, 2001 at 02:45 UTC ( [id://106095]=note: print w/replies, xml ) | Need Help?? |
This works fine for me:
substr has no problems making the string longer. It's inserting new bytes where the first new byte is beyond the end of the original scalar that causes errors. So the following fails with the error message you mention:
In Section
Seekers of Perl Wisdom
|
|