Keep It Simple, Stupid | |
PerlMonks |
lvalues in perl prior to 5.16.3 throws "Can't modify reference constructor in lvalue subroutine return"by hurricup (Pilgrim) |
on Jan 22, 2015 at 09:02 UTC ( [id://1114115]=perlquestion: print w/replies, xml ) | Need Help?? |
hurricup has asked for the wisdom of the Perl Monks concerning the following question: Hi there! I've decided to create a useful module to generate class properties. I've done it and it works fine on perl 5.16.3+, but older perls don't want to compile it. Module can be found here. The main idea is generating lvalue properties using tie and closure:
Error message is not quite clear and i don't understand, what is wrong. Please, help.
Back to
Seekers of Perl Wisdom
|
|