Skip to content

need better hints when modules are loaded in a weird order #930

@karenetheridge

Description

@karenetheridge

from #perl-qa:

14:00 < ether> > You should load Test::Tester before Test::Builder (or anything that loads Test::Builder) at /Volumes/chambord/Users/ether/perl5/perlbrew/perls/34.3/lib/5.34.3/Test/Tester.pm line 9.
14:00 < ether> it would help if that was a carp, not a warn; I have no idea what the culprit code is
14:00 < ether> Exodist: ^^
18:07 < Exodist> A carp is only half the battle. You will also need to know where tb was loaded. I am on my phone, not a laptop, can someone file a ticket? I also want to change that message to recommend 
                 more modern ways to test the test tools.
18:07 < ether> hmm good point, what matters is the first part, not when Test::Builder was loaded.
18:07 < ether> I'll file
18:08 < ether> I saw this when installing a bunch of distributions; I am not sure if it was from a particular dist's tests, or from cpanm itself, but presumably the former

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions