NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
This is hard. (Score:1)
Woah there! I agree this would be a nice author test, but it's is much harder than just using %INC.
1) Testing for core status
--> For what version of perl? Needs to know what's the minimum version of perl this module runs on. I think since there is no META.yml attribute which is reliable and agreed upon, this needs
Re:This is hard. (Score:1)
Module::CoreList [cpan.org]
I have no idea what compells you to mention PPI in this context.
You think a simple implementation that gets us ¾ of the value of a completely airtight implementation is worthless? Why?
Reply to This
Parent
Re: (Score:1)
That's because you misunderstood me. Given a distribution to be tested, you need to know the minimum perl version it's compatible with to be able to USE Module::CoreList at all. To get a list of core modules, you need a perl version, remember? I mention PPI because it's used to implement Perl::MinimumVersion.
You think a simple implementation that gets us ¾ of the value of a completely airtight implementation is worthless? Why?
Because suppo
Re: (Score:1)
Ah. I can see that in your previous comment now, but you weren’t quite explicit enough about the point, so I didn’t understand you correctly on first read.
I thought it was a given that checking the dependency list is done before you upload to PAUSE. This sort of test would be useless if it ran after your distro ship had sailed.
Re: (Score:2)
How touchingly naive :-) It's amazing how many people don't bother checking. Aside from plain and simple coding errors, undeclared dependencies are one of the most common problems with modules. It's hard to blame the authors though. If you use LWP::UserAgent every day it's hard to remember that it's not core. Even harder to remem
Re: (Score:1)
No, what I meant is that I thought it was a given that any automatic depency list checker would be for use before, not after, uploading.
If anyone thought people always checked the list themselves, we wouldn’t even be having this discussion…