File: XyzzyPlugin.pm

package info (click to toggle)
libapp-cmd-perl 0.338-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 516 kB
  • sloc: perl: 1,727; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
use warnings;
package Test::XyzzyPlugin;
use App::Cmd::Setup -plugin => {
  exports => [ qw(xyzzy) ],
};

sub xyzzy {
  my ($self, $cmd, @arg) = @_;

  return [ $self, $cmd, \@arg ];
}

1;