Note that this will only work when not using strict 'refs'.*$i = sub { ... }
update: see also the Symbol table section in perlmod.
In reply to Re: declaring accessor methods from a list
by Joost
in thread declaring accessor methods from a list
by Bro. Doug
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |