RECENT POSTS

P5-class-whitehole

May 26, 2018

Base class to treat unhandled method calls as errors

Its possible to accidentally inherit an AUTOLOAD method. Often this will happen if a class somewhere in the chain uses AutoLoader or defines one of their own. This can lead to confusing error messages when method lookups fail.

Sometimes you want to avoid this accidental inheritance. In that case, inherit from ClassWhiteHole. All unhandled methods will produce normal Perl error messages.

WWW http//search.cpan.org/dist/Class-WhiteHole/