projects
/
p5sagit/Function-Parameters.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3097146a36ce122b81c079f0eae068592c0d78c4
[p5sagit/Function-Parameters.git]
/
t
/
foreign
/
Method-Signatures-Simple
/
RT80510.t
1
#!perl
2
use strict;
3
use warnings FATAL => 'all';
4
use Test::More tests => 2;
5
6
use Function::Parameters;
7
8
fun empty ($x) {}
9
10
is scalar empty(1), undef, "empty func returns nothing (scalar context)";
11
is_deeply [empty(1,2)], [], "empty func returns nothing (list context)";
12
13
__END__