Yeah, that's the heart of several modules on CPAN. I want to say Class::Accessors, but it may not be exactly what you're looking for.no strict 'refs'; for (@attribute_list) { *{ $package . "::get$_" } = sub { $_[0]->get($_); }; }
In reply to Re: Weird eval behavior...
by chromatic
in thread Weird eval behavior...
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |