in reply to Inconsistent lvalue subroutine behaviour.

There is only one substr lvalue. You can't have more than one in existence at once and have things work. Sorry.

I think this limitation is being removed but I don't recall the schedule.

Update: My second super search (for "substr lvalue one" starting in 2002) found LVALUE refs which documents the problem including a patch that will be included in Perl 5.10.

                - tye
  • Comment on Re: Inconsistent lvalue subroutine behaviour. (highlander syndrome)