Skip Menu |

This queue is for tickets about the Devel-Declare CPAN distribution.

Report information
The Basics
Id: 51679
Status: resolved
Priority: 0/
Queue: Devel-Declare

Owner: Nobody in particular
Requestors: MAUKE [...]

Bug Information
Severity: Normal
Broken in: 0.005011
Fixed in: (no value)

Subject: toke_scan_str doesn't handle errors, returns garbage
Download (untitled) / with headers
text/plain 349b
toke_scan_str returns bogus values such as -141784940 if parsing fails. I think this is because S_scan_str returns NULL, which is not handled by dd_toke_scan_str. My preferred fix would be making toke_scan_str return undef in case of failure, but even a simple 'if (!s) { return -1; }' in dd_toke_scan_str would be better than the current behavior.
Download (untitled) / with headers
text/plain 140b
Patch: P.S. Any of the 17 (!) maintainers know why it hasn't been updated in the last 7 months?
Fixed in Devel-Declare 0.006007, just uploaded to CPAN.

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

Please report any issues with to