If you want to explore inside-out objects, I strongly recommend avoiding Class::Std and using the powerful Object::InsideOut or the simpler Class::InsideOut instead.
Here's your example in O::IO
package Person; { use Object::InsideOut; my @name_of :Field :Std_All(name); }
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In reply to Re: Need help using Class:Std (with :ATTR)
by xdg
in thread Need help using Class:Std (with :ATTR)
by scorpio17
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |