projects
/
p5sagit/Function-Parameters.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
ignore vim swap files
[p5sagit/Function-Parameters.git]
/
t
/
name_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 };