I think you may want something like Class::Accessor. Class::Accessor is just one of many modules that may work for you. You may want to look at the Class:: namespace in the cpan.
In reply to Re: Perl's equivalent to Python's hasattr and getattr? (class variable details)
by rlb3
in thread Perl's equivalent to Python's hasattr and getattr? (class variable details)
by MistaMuShu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |