On 2013-01-03 19:07:00, TOMMY wrote:
Show quoted text> Maybe you haven't read the Dist::Zilla documentation as recently as I
> have. It literally says it is unecessary to list anything as a
> Prerequisite when you use the AutoPrereqs plugin. Just for context, I
> included the link to the documentation in my report.
The documentation for AutoPrereqs says:
Show quoted text> This plugin will extract loosely your distribution prerequisites
> from your files using Perl::PrereqScanner. If some prereqs are
> not found, you can still add them manually with the Prereqs plugin.
In other words: it might not find everything, and if you want to know how it looks, go check
out Perl::PrereqScanner. In the end, that analyzes your document with PPI, which treats the
contents of __DATA__ and __END__ as opaque blobs.
As I said, one could write a plugin to make it notice the use of AutoLoader and rescan those
sections, but it doesn't do that by default, because those sections are not considered code in
Perl. You're just using a bolt-on that evaluates them (or the files built from them) later.
Show quoted text> You can split hairs all day about what you think is or is not
> code/perl. A prerequisite is a prerequisite not based on how code is
> seen by the Perl interpreter, but based on whether or not it is needed
> for other code to function.
AutoPrereqs and Perl::PrereqScanner are functioning as intended and as documented. The
tutorial is talking about them in a very limited circumstance: the tutorial's example. Now you
know, too, how it works, and you can adjust your expectations accordingly.
I will consider whether a few words could be added to that tutorial page to temper
expectations without confusing the issue.
Show quoted text> Here's the kicker, and here's where I hope your "recovering a-hole"
> complex doesn't kick into overdrive Matt: [...]
Your unpleasant attitude is not welcome here. I don't know what has upset you, and I'm sorry
if it was your experience with my free software. I don't plan to sit around and suffer through
this, though.
--
rjbs