5 use Function::Parameters 'f';
7 my $add = f ($x, $y) { $x + $y };
11 ok !eval { Function::Parameters->import('g', 'h'); 1 };
12 like $@, qr/ is not exported /;
14 for my $kw ('', '42', 'A::B', 'a b') {
15 ok !eval{ Function::Parameters->import($kw); 1 };
16 like $@, qr/valid identifier /;