in reply to Re: Perl's equivalent to Python's hasattr and getattr? (class variable details)
in thread Perl's equivalent to Python's hasattr and getattr? (class variable details)
Wow, that hits it right on the spot! I find it weird that this isn't builtin. Maybe I'll skim through and look up how Class::Accessor is implemented. Is it possible to do something similar theorically by manipulating symbol tables?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl's equivalent to Python's hasattr and getattr? (class variable details)
by rlb3 (Deacon) on Jul 29, 2005 at 00:03 UTC |
In Section
Seekers of Perl Wisdom