RECENT POSTS

P5-class-blackhole

May 26, 2018

Base class to treat unhandled method calls as no-ops

Normally, if you try to call a method that there’s no handler for, you get an error

Can’t locate object method “flork” via package “X”.

But for classes that inherit from ClassBlackHole, unhandled methods become just no-operations.

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