File: Foo.pm

package info (click to toggle)
libcatalyst-perl 5.90015-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,352 kB
  • sloc: perl: 16,643; makefile: 9
file content (10 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
package ScriptTestApp::TraitFor::Script::Foo;
use Moose::Role;
use namespace::autoclean;

around run => sub {
    my ($orig, $self, @args) = @_;
    return $self->$orig(@args) . '42';
};

1;