projects
/
p5sagit/Function-Parameters.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
version 1.0401
[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__