Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-PrereqScanner CPAN distribution.

Report information
The Basics
Id: 76527
Status: resolved
Priority: 0/
Queue: Perl-PrereqScanner

People
Owner: Nobody in particular
Requestors: jakob.voss [...] gbv.de
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



This module is great, but its use is limited if you don't use it with Dist::Zilla::Plugin::AutoPrereqs. I miss the following methods to scan multiple files: $scanner->scan_files( @files ); $scanner->scan_dir( $directory ); # recursive The required functionality is hidden in Dist::Zilla::Plugin::AutoPrereqs->register_prereqs I had to copy the code from this module which is not like it should be. Can you please refactor the modules and move some functionality from Dist::Zilla::Plugin::AutoPrereqs to Perl::Prereq::Scanner?
On 2012-04-13 04:00:02, VOJ wrote: Show quoted text
> I had to copy the code from this module which is not like it should be. > Can you please refactor the modules and move some functionality from > Dist::Zilla::Plugin::AutoPrereqs to Perl::Prereq::Scanner?
I'm afraid I'm unlikely to have the time to get to this any time soon, but I'd gladly accept a patch for it and would make sure it got released. Thanks for the report. -- rjbs
On Fri Apr 13 01:00:02 2012, VOJ wrote: Show quoted text
> I had to copy the code from this module which is not like it should be. > Can you please refactor the modules and move some functionality from > Dist::Zilla::Plugin::AutoPrereqs to Perl::Prereq::Scanner?
An executable which reported the results would also be *very* handy. I'm finding myself installing Dist::Zilla into an experimental perl simply so I can do 'dzil listdeps --json' on a distribution. ;)
I think the scan-perl-prereqs program addresses these needs? -- rjbs