That won't work (in pure Perl) in traditional inside out objects, as the attributes are stored in lexical variables. No code from other files is able to touch it.
But there are other solutions. Accessors are typically very similar, one could generate them with an editor macro.
In reply to Re^2: RFC: The Poor Man's Accessor Filter
by JavaFan
in thread RFC: The Poor Man's Accessor Filter
by rje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |