The usual way to generate automatic accessors in perl is with sub AUTOLOAD {...}. The Camel (3ed.) gives an example starting on p. 337. That is immediately followed by an example of generating them by name with closures, instead.
After Compline,
Zaxo
In reply to Re: Pretending to be lisp: macros
by Zaxo
in thread Pretending to be lisp: macros
by anjiro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |