| Class-Delay documentation | Contained in the Class-Delay distribution. |
Class::Delay::Message - class that represents a delayed message
The package that the delaying method was installed into.
The method being called
The arguments the method was called with.
True if the Message is a release method.
Richard Clamp <richardc@unixbeard.net>
Copyright (C) 2003 Richard Clamp. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Class-Delay documentation | Contained in the Class-Delay distribution. |
use strict; package Class::Delay::Message; use base 'Class::Accessor::Fast'; __PACKAGE__->mk_accessors(qw( package method args is_trigger )); sub resume { my $self = shift; my @args = @{ $self->args }; my $invocant = shift @args; my $method = $self->method; $invocant->$method( @args ); } 1; __END__