http://www.perlmonks.org?node_id=1011495


in reply to Burned by Dist::Zilla

In all seriousness, maybe that could be taken as a hint to remove AutoLoader and the corresponding __END__ line?

But yes, prerequisites are something that I wouldn't automate as prerequisites don't change that often, but when the detection fails, the fallout is much harder.

Replies are listed 'Best First'.
Re^2: Burned by Dist::Zilla
by Tommy (Chaplain) on Jan 03, 2013 at 17:47 UTC

    ...And/or Dist::Zilla shouldn't claim to automatically detect all Prereqs? I'll be filing a bug report. I do not take this as a mandate to remove autoloading a heavy routine that is only ever used when handling exceptions which should all be worked out by the time any code hits production...

    Sorry for being snippy. I'm really pissed off that I put out a "stable" release that proceeded to fail nearly all tests (except mine of course). Having done so is not merely an embarrassment, but a disservice to the community! GAAAA!

    Lesson learned: test in a virgin Perl environment that has nothing but core modules installed, and don't automate prereq detection.

    Tommy
    "Perl follows the principle of least astonishment"

      Ah, yes, I do run tests in a Perl installation that has just enough modules for "my" modules to work, for that reason. And no, I'm not a fan of Dist::Zilla, because at least for me, it automates too many things that I prefer to mess up manually.