projects
/
p5sagit/Function-Parameters.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add begin.t from Method::Signatures
[p5sagit/Function-Parameters.git]
/
t
/
foreign
/
MooseX-Method-Signatures
/
precedence.t
1
#!perl
2
use strict;
3
use warnings FATAL => 'all';
4
use Test::More tests => 4;
5
6
use Function::Parameters qw(:strict);
7
8
my @methods = (method { 1 }, method { 2 }, method { 3 });
9
is(scalar @methods, 3);
10
11
isa_ok($_, 'CODE') for @methods;