| MooseX-POE documentation | Contained in the MooseX-POE distribution. |
MooseX::POE::Meta::Trait::SweetArgs - Yes, its a trap... i mean trait
version 0.214
use MooseX::POE::Meta::Trait::SweetArgs;
The MooseX::POE::Meta::Trait::SweetArgs class implements ...
There are no public methods.
This software is copyright (c) 2010 by Chris Prather, Ash Berlin, Chris Williams, Yuval Kogman, Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| MooseX-POE documentation | Contained in the MooseX-POE distribution. |
package MooseX::POE::Meta::Trait::SweetArgs; BEGIN { $MooseX::POE::Meta::Trait::SweetArgs::VERSION = '0.214'; } # ABSTRACT: Yes, its a trap... i mean trait use Moose::Role; around add_state_method => sub { my $orig = shift; my ($self, $name, $method) = @_; $orig->($self, $name, sub { $method->(@_[POE::Session::OBJECT(), POE::Session::ARG0()..$#_]) }); }; no Moose::Role; 1;
__END__