NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
lvalue methods (Score:2)
Have you read the bit in perlsub that suggests lvalue methods like that are a bad idea?
Okay, it's a run-on sentence, but it seems reasonable to me, and it then gives an example. Do you disagree? I haven't done much with lvalue subroutines, so maybe there's a way around the problem.
Reply to This
Re:lvalue methods (Score:2)
Wow. That perldoc sentence is as bad as some of the sentences I've been known to spit out: s/,/;/;.
I think you're right. A nice idea foiled by a poor implementation :(