On 06/09/2011 13:04, Emeka wrote:

Could someone explain what Perl does behind here?

Assign to Substring..
substr($string, 0 , 5) = 'Greetings';

What do you want to know Emeka?

There is no copy of the 'old' string, and substr behaves as documented.

I have the C code of substr in front of me, but there is little else to
say.

Rob

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to