X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/096a80d20d76ef535bea0a0fad783af9a6ddea9f..d83769ecaa47a005082efd22607458cae8ab87a6:/scripts/find-use.pl diff --git a/scripts/find-use.pl b/scripts/find-use.pl index 320a3690a..c583ecc8e 100755 --- a/scripts/find-use.pl +++ b/scripts/find-use.pl @@ -5,7 +5,6 @@ BEGIN { unshift(@INC, $FindBin::Bin . '/../modules/override'); # Use our own versions of various modules (e.g. YAML). push (@INC, $FindBin::Bin . '/..'); # '.' will be removed from @INC soon. - push (@INC, $FindBin::Bin . '/../modules/fallback'); # Only use our own versions of modules if there's no system version. } use strict; @@ -58,7 +57,16 @@ my (%uselines, %modules, %supplied, %requires); }, 'Archive::Zip' => { 'Archive::Zip::Member' => 1, - } + }, + 'HTML::Parser' => { + 'HTML::Entities' => 1, + }, + 'URI' => { + 'URI::Escape' => 1, + }, + 'File::MimeInfo' => { + 'File::MimeInfo::Magic' => 1, + }, ); GetOptions( @@ -81,6 +89,7 @@ find(sub { next if /SL::/; next if /Support::Files/; # our own test support module next if /use (warnings|strict|vars|lib|constant|utf8)/; + next if /^use (with|the)/; my ($useline) = m/^use\s+(.*?)$/; @@ -214,7 +223,6 @@ find-use =head1 EXAMPLE # perl scipts/find-use.pl - !missing : Perl::Tags !missing : Template::Constants !missing : DBI