projects
/
p5sagit/Function-Parameters.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
history
|
HEAD
version 1.0401
[p5sagit/Function-Parameters.git]
/
t
/
foreign
/
Fun
/
package.t
Commit
Line
Data
98478aff
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;