NAME
Hook::Queue - define a queue of handlers
SYNOPSIS
# define a Liar class which always claims to be what you're asking
# about
package Liar;
use Hook::Queue 'UNIVERSAL::isa' => sub {
my $what = shift;
my $class = shift;
return 1 if (ref $what || $what) eq "Liar";
# it's not my call, pass it down the chain
return Hook::Queue->defer;
};
DEPENDENCIES
This module has external dependencies on the following modules:
perl 5.006
INSTALLATION
perl Build.PL
perl Build test
and if all goes well
perl Build install
HISTORY
What changed over the last 3 revisions
AUTHOR
Richard Clamp <richardc@unixbeard.net>
Copyright Richard Clamp 2004. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
SUPER, NEXT - for similar idioms for OO programming
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 47:
You forgot a '=back' before '=head1'