Skip Menu |

This queue is for tickets about the Module-ScanDeps CPAN distribution.

Report information
The Basics
Id: 33508
Status: resolved
Priority: 0/
Queue: Module-ScanDeps

People
Owner: Nobody in particular
Requestors: hoowa.sun [...] gmail.com
Cc:
AdminCc:

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



Subject: skip missing with DBI
Date: Fri, 22 Feb 2008 17:23:53 +0800
To: bug-Module-ScanDeps [...] rt.cpan.org
From: "hoowa sun" <hoowa.sun [...] gmail.com>
hello, my script : #!/opt/ActivePerl-5.10/bin/perl use Module::ScanDeps qw(add_deps scan_deps); my %skip; $skip{&Module::ScanDeps::_find_in_inc('DBI.pm')}=1; my $hash_ref = scan_deps( files => ['./test.pl'], skip=>\%skip, ); my test.pl: #!/opt/ActivePerl-5.10/bin/perl use DBI; print "sdf"; however scandeps retrun lot of references in hash_ref. seemed %skip not work. if i try another modules all will wonderful. is that a bug? thank you sun