3
use Test::More tests => 1;
6
package CustomSignature;
8
use base qw/signatures/;
12
sub proto_unwrap ($class, $prototype) {
13
return "my (\$prototype) = '$prototype';";
17
BEGIN { CustomSignature->import }
19
sub foo (affe tiger) { $prototype }
21
is(foo(), 'affe tiger', 'overriding proto_unwrap');