projects
/
p5sagit/Function-Parameters.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7a9af01aff7ed38fd12ef38088d886c970b61302
[p5sagit/Function-Parameters.git]
/
t
/
named_1.fail
1
#!perl
2
use warnings;
3
use strict;
4
5
use Function::Parameters {
6
func => {
7
name => 'required',
8
},
9
10
f => {
11
name => 'prohibited',
12
},
13
14
method => {
15
name => 'required',
16
shift => '$this',
17
},
18
};
19
20
my $bad = func () { 1 };