Hook-Queue README


Hook-Queue documentation  | view source Contained in the Hook-Queue distribution.

Index


NAME

Top

Hook::Queue - define a queue of handlers

SYNOPSIS

Top

  # 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

Top

This module has external dependencies on the following modules:

 perl	5.006

INSTALLATION

Top

 perl Build.PL
 perl Build test

and if all goes well

 perl Build install

HISTORY

Top

What changed over the last 3 revisions

1.21 Friday 30th April, 2004
	Initial CPAN release
=back

AUTHOR

Top

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

Top

SUPER, NEXT - for similar idioms for OO programming


Hook-Queue documentation  | view source Contained in the Hook-Queue distribution.