File: Foo.pm

package info (click to toggle)
libmoosex-multimethods-perl 0.10-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 148 kB
  • sloc: perl: 179; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
package Foo;
our $VERSION = '0.10';

use Moose;
use MooseX::MultiMethods;

use namespace::autoclean;

multi method foo (Int $x) { 'Int' }
multi method foo (Str $x) { 'Str' }

1;