Skip Menu |

This queue is for tickets about the signatures CPAN distribution.

Report information
The Basics
Id: 47169
Status: open
Priority: 0/
Queue: signatures

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: (no value)



Subject: Multiline prototypes
#!/usr/bin/perl -w use signatures; sub foo($this, $that) { return "$this $that"; } print foo("foo", "bar"), "\n"; __END__ syntax error at test.plx line 7, near "$that) " (Might be a runaway multi-line () string starting on line 5) Execution of test.plx aborted due to compilation errors.
With 0.06 now its... $ perl #!/usr/bin/perl -w use signatures; sub foo($this, $that) { return "$this $that"; } print foo("foo", "bar"), "\n"; Name "main::that" used only once: possible typo at - line 8. Name "main::this" used only once: possible typo at - line 8. Undefined subroutine &main::foo called at - line 11.