Skip Menu |

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 83533
Status: resolved
Priority: 0/
Queue: autodie

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

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

Subject: DOES method for autodie::skip not available until perl 5.10
Download (untitled) / with headers
text/plain 241b
The new autodie::skip thing is great, but you're checking with DOES. That will fail with method not found on perl < 5.10 unless the class implements it itself. You should check $package->can("DOES") and use that or else fall back to isa.
Download (untitled) / with headers
text/plain 240b
Ah. I see 2.16 checks can("DOES"). But you should either fall back to isa or else change the autodie::skip documentation to explain it, because "use parent qw/autodie::skip/" isn't sufficient on Perl 5.8. I can't wait for 5.8 to go away.
Nutshell answer: this is fixed in autodie 2.16.

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

Please report any issues with to