aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Class-BlackHole/pkg-descr
blob: 57fafb53b64d775cd5b95ffc47bdca3d3e295d68 (plain) (blame)
1
2
3
4
5
6
7
8
9
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 Class::BlackHole, unhandled methods
become just no-operations.

WWW: https://metacpan.org/release/Class-BlackHole