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
Download (untitled) / with headers
text/plain 305b
#!/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.
Download (untitled) / with headers
text/plain 321b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.