in reply to lvalues in perl prior to 5.16.3 throws "Can't modify reference constructor in lvalue subroutine return"

> Error message is not quite clear

$ echo "Can't modify reference constructor in lvalue subroutine return +"|splain Can't modify reference constructor in lvalue subroutine return (#1) (F) You aren't allowed to assign to the item indicated, or otherwi +se try to change it, such as with an auto-increment.

I suppose your tie is loading too much magic onto $dummy ... but this would be a runtime error not compilation like you indicated(?)

Please try to give a concise sample reproducing your problem, I'm not motivated to dig into your module to do the binary debugging search for you. ;-)

... and please name concrete Perl version numbers failing.

Cheers Rolf

PS: Je suis Charlie!

  • Comment on Re: lvalues in perl prior to 5.16.3 throws "Can't modify reference constructor in lvalue subroutine return"
  • Select or Download Code