This technique is very useful. It's discussed in perltooc.
perldoc perltoocGoing out on a limb here but personally I don't use this technique as I feel that it makes it difficult to see the accessors that are created. I would probably lean toward Class::Accessor too.
In reply to Re: Automagic subroutines
by osunderdog
in thread Automagic subroutines
by rje
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |