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