| 1 | package MooseX::POE::Meta::Trait::SweetArgs; | ||
| 2 | { | ||
| 3 | 1 | $MooseX::POE::Meta::Trait::SweetArgs::VERSION = '0.215'; | |
| 4 | } | ||
| 5 | # ABSTRACT: Yes, its a trap... i mean trait | ||
| 6 | |||
| 7 | 1 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | ▶ | around add_state_method => sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 10 | 1 | my $orig = shift; | |
| 11 | 1 | my ($self, $name, $method) = @_; | |
| 12 | 1 | ▶ | $orig->($self, $name, sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 13 | 1 | $method->(@_[POE::Session::OBJECT(), POE::Session::ARG0()..$#_]) | |
| 14 | 1 | }); | |
| 15 | 1 | }; | |
| 16 | |||
| 17 | 1 | ▶ | no Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | 1 | 1; | |
| 20 | |||
| 21 | |||
| 22 | =pod | ||
| 23 | |||
| 24 | =head1 NAME | ||
| 25 | |||
| 26 | MooseX::POE::Meta::Trait::SweetArgs - Yes, its a trap... i mean trait | ||
| 27 | |||
| 28 | =head1 VERSION | ||
| 29 | |||
| 30 | version 0.215 | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | use MooseX::POE::Meta::Trait::SweetArgs; | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | The MooseX::POE::Meta::Trait::SweetArgs class implements ... | ||
| 39 | |||
| 40 | =head1 SUBROUTINES / METHODS | ||
| 41 | |||
| 42 | There are no public methods. | ||
| 43 | |||
| 44 | =head1 AUTHORS | ||
| 45 | |||
| 46 | =over 4 | ||
| 47 | |||
| 48 | =item * | ||
| 49 | |||
| 50 | Chris Prather <chris@prather.org> | ||
| 51 | |||
| 52 | =item * | ||
| 53 | |||
| 54 | Ash Berlin <ash@cpan.org> | ||
| 55 | |||
| 56 | =item * | ||
| 57 | |||
| 58 | Chris Williams <chris@bingosnet.co.uk> | ||
| 59 | |||
| 60 | =item * | ||
| 61 | |||
| 62 | Yuval (nothingmuch) Kogman | ||
| 63 | |||
| 64 | =item * | ||
| 65 | |||
| 66 | Torsten Raudssus <torsten@raudssus.de> L<http://www.raudssus.de/> | ||
| 67 | |||
| 68 | =back | ||
| 69 | |||
| 70 | =head1 COPYRIGHT AND LICENSE | ||
| 71 | |||
| 72 | This software is copyright (c) 2010 by Chris Prather, Ash Berlin, Chris Williams, Yuval Kogman, Torsten Raudssus. | ||
| 73 | |||
| 74 | This is free software; you can redistribute it and/or modify it under | ||
| 75 | the same terms as the Perl 5 programming language system itself. | ||
| 76 | |||
| 77 | =cut | ||
| 78 | |||
| 79 | |||
| 80 | __END__ | ||