Subject: | signatures before Test::More doesn't work |
#!/usr/bin/perl -w
use signatures;
use Test::More;
sub foo ($arg) {
return $arg;
}
is foo(42), 43;
done_testing();
__END__
Not enough arguments for main::foo at /Users/schwern/tmp/test.plx line
10, near "42)"
Execution of /Users/schwern/tmp/test.plx aborted due to compilation errors.
If I reverse the order of loading Test::More and signatures it works.