Regarding performance, my inclination is to put the spell-check subs (sub attribute() returning 'attribute') in a BEGIN block under the assumption that the compiler will optimize away these trivial subs.
Subs are always compiled in BEGIN mode, exclusive of eval tricks. AFAIK, they are only optimized away with a "()" prototype and a constant return value.
After Compline,
Zaxo
In reply to Re: Inside-out objects: encapsulation, spell-check, memory and dumping
by Zaxo
in thread Inside-out objects: encapsulation, spell-check, memory and dumping
by sg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |