Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Funky Test Failure, How to Correct

by DrHyde (Prior)
on Feb 24, 2014 at 11:05 UTC ( #1075970=note: print w/replies, xml ) Need Help??


in reply to Funky Test Failure, How to Correct

The CPAN-testers test with dev release of perl for two reasons. Yes, one is to find bugs in perl before official releases. However, we also do it so that module authors get advance notice of changes that will affect their code when the next version of perl is released. Judging by what kcott says, this change is deliberate, and the failure is because of a bugfix in perl where you were inadvertently relying on the old buggy behaviour.

Replies are listed 'Best First'.
Re^2: Funky Test Failure, How to Correct
by einhverfr (Friar) on Feb 25, 2014 at 03:56 UTC

    Ok, getting back to the line I posted (which is in DateTime::TimeZone::Floating, not my own code), there's nothing in the documentation which suggests that this failure in this line is deliberate. After all it is just a "use parent" statement and has no wildcards or patterns in it.

    Given that there is nothing dynamic in the strings involved, given that they work everywhere else (including two other Perl 5.19.9 systems run by the same tester on different versions of FreeBSD), this either has to be a bug in Perl (or a dependency linked to somewhere) or it has to be a broken parent pragma (which iirc ships with core).

    My reason for contacting the tester in this case was to hand off what tracing I had managed to do so that if he was interested in taking it further he wouldn't have to duplicate my work. That a deliberate change occurs in related areas of code (tainting) in no way means that new bugs aren't introduced in that process.

Re^2: Funky Test Failure, How to Correct
by Anonymous Monk on Feb 24, 2014 at 11:38 UTC

    and the failure is because of a bugfix in perl where you were inadvertently relying on the old buggy behaviour.

    Sure its not :) maybe

    Look at the error message stacktrace, looks very much like something in the DateTime:: namespace originates the message not the OPs module itself

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1075970]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2019-05-22 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (140 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!