in reply to Re: Efficienty truncating a long string
in thread Efficienty truncating a long string
Well I've looked at substr and can understand its normal non lvalue usage, but as far as I can see its a copying operator, returning a substr of the original. I want to truncate a string without the copying overhead. The lvalue version seems to be ok, but I dont quite understand how to use it to truncate a string. Any suggestions?
In Section
Seekers of Perl Wisdom