mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
81797980f7
URLs automatically rewritten from /search?dist=Foo or /dist/Foo to /dist/Foo/ (note trailing slash). After a 2002(!) reorganization, this is the preferred way to refer to modules on search.cpan.org. This pass brought to you by http://people.freebsd.org/~fenner/fix-search
17 lines
648 B
Plaintext
17 lines
648 B
Plaintext
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 catched 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.
|
|
|
|
WWW: http://search.cpan.org/dist/Class-Hook/
|
|
|
|
~brian skrab
|
|
brian@quynh-and-brian.org
|