Is there way to catch the event of calling an instance of a Perl class?
my $obj = ExampleClass->new();
$obj(); # do something without producing error
I would like to be able to handle this from within the class/module definition. Something similar to the __call__ method in Python, or the __call metamethod in Lua.