Name : perl-Class-Hook
| |
Version : 0.06
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-03 17:52:48
|
Group : Unspecified
| Source RPM : perl-Class-Hook-0.06-lp156.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Add hooks on methods from other classes
|
Description :
Class::Hook enables you to trace methods calls from your code to other classes.
Instead of putting \'use Foo;\' in your code, simply type \'use Class::Hook;\'. The class Foo is unknown in your code. It will be magically caught by Class::Hook which will call Foo itself. You can see Class::Hook as a kind of relay.
You can setup a subroutine to be called before any call to \'< Foo->amethod\'> and a subroutine to be called after the call. Your subs will receive all the information that \'< Foo->amethod\'> will receive, so you can trace everything between your code and Foo.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/15.6/noarch |