Changeset 404

Show
Ignore:
Timestamp:
12/25/01 04:08:27
Author:
miyagawa
Message:

comment

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Class-Trigger/trunk/MANIFEST

    r400 r404  
    22MANIFEST 
    33Makefile.PL 
     4README 
    45lib/Class/Trigger.pm 
    56t/00_compile.t 
  • Class-Trigger/trunk/README

    r403 r404  
    2525 
    2626      Bar->add_trigger(before_foo => \&sub); 
     27 
     28      # triggers can be object based 
     29      $foo->add_hook(after_foo => \&sub3); 
     30      $foo->foo;                    # sub3 would appply only to this object 
    2731 
    2832DESCRIPTION 
  • Class-Trigger/trunk/lib/Class/Trigger.pm

    r400 r404  
    111111  Bar->add_trigger(before_foo => \&sub); 
    112112 
     113  # triggers can be object based 
     114  $foo->add_hook(after_foo => \&sub3); 
     115  $foo->foo;                    # sub3 would appply only to this object 
     116 
    113117=head1 DESCRIPTION 
    114118