go ahead... be a heretic | |
PerlMonks |
Re: I don't understand UNIVERSAL::DOES()by InfiniteLoop (Hermit) |
on Mar 08, 2007 at 18:25 UTC ( [id://603870]=note: print w/replies, xml ) | Need Help?? |
Was just reading the latest edition of The Perl Review and Renée Bäcker has an article that discusses UNIVERSAL::DOES. The gist of it is UNIVERSAL::DOES is like "isa", but doesn't depend on the inheritance relationship. For examples refer to the perl core tests, universal.t.
In Section
Seekers of Perl Wisdom
|
|