projects
/
p5sagit/Function-Parameters.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
99d5364dbe9444e2cb2444467dadaa59be926e26
[p5sagit/Function-Parameters.git]
/
t
/
foreign
/
Fun
/
package.t
1
#!perl
2
use strict;
3
use warnings FATAL => 'all';
4
use Test::More;
5
6
use Function::Parameters;
7
8
fun Foo::foo ($x, $y) {
9
$x + $y;
10
}
11
12
ok(!main->can('foo'));
13
ok(Foo->can('foo'));
14
is(Foo::foo(1, 2), 3);
15
16
done_testing;