Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Class-Trigger

Mixin to add / call inheritable triggers

Class::Trigger is a mixin class to add / call triggers (or hooks) that get called at some points you specify.

This package contains the following Perl module:

Class::Trigger

Homepage:
Package version:0.12
Architecture:noarch
Distribution:RPMForge
Filename:perl-Class-Trigger-0.12-1.el5.rf.noarch.rpm

/usr/share/doc/perl-Class-Trigger-0.12/README

NAME
    Class::Trigger - Mixin to add / call inheritable triggers

SYNOPSIS
      package Foo;
      use Class::Trigger;

      sub foo {
          my $self = shift;
          $self->call_trigger('before_foo');
          # some code ...
          $self->call_trigger('middle_of_foo');
          # some code ...
          $self->call_trigger('after_foo');
      }

      package main;
      Foo->add_
more»

/usr/share/man/man3/Class::Trigger.3pm.gz

Class::Trigger(3)User Contributed Perl DocumentatioClass::Trigger(3)



NAME
       Class::Trigger - Mixin to add / call inheritable triggers

SYNOPSIS
         package Foo;
         use Class::Trigger;

         sub foo {
             my $self = shift;
             $self->call_trigger('before_foo');
             # some code ...
             $self->call_trigger('middle_of_foo');
             # som
more»

/usr/share/doc/perl-Class-Trigger-0.12/Changes

Revision history for Perl extension Class::Trigger.

0.12 Mon Aug 20 16:06:50 PDT 2007
    - Make this a release

0.11_03  Wed Jun 20 12:12:36 PDT 2007
    - Fixed a bug in backward-compatiblity code to handle multiple
      hooks in one add_trigger() call. (Thanks to mark addison)

0.11_02  Sun Jun 10 18:09:58 PDT 2007
    - Added a test to make sure $_ is not clobbered
      (Thanks to mark addi
more»

Browse inside perl-Class-Trigger-0.12-1.el5.rf.noarch.rpm

838 B2014-11-27HEADER  view  657+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-Class-Trigger-0.12-1.el5.rf.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com