X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c497b0352f95a55d204101b70ac771b2dc21ddee..54ce51443886623bb785e7c54492ecbc8dc9b3aa:/scripts/find-use.pl diff --git a/scripts/find-use.pl b/scripts/find-use.pl index 959ecbedb..b9220d423 100755 --- a/scripts/find-use.pl +++ b/scripts/find-use.pl @@ -1,4 +1,13 @@ #!/usr/bin/perl -l + +BEGIN { + use FindBin; + + 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; #use warnings; # corelist and find throw tons of warnings use File::Find; @@ -21,6 +30,8 @@ my (%uselines, %modules, %supplied, %requires); 'Rose::DB::Object::ConventionManager' => 1, 'Rose::DB::Object::Manager' => 1, 'Rose::DB::Object::Metadata' => 1, + 'Rose::DB::Object::Helpers' => 1, + 'Rose::DB::Object::Util' => 1, }, 'Rose::Object' => { 'Rose::Object::MakeMethods::Generic' => 1, @@ -32,6 +43,7 @@ my (%uselines, %modules, %supplied, %requires); 'Template::Plugin' => 1, 'Template::Plugin::Filter' => 1, 'Template::Plugin::HTML' => 1, + 'Template::Stash' => 1, }, 'Devel::REPL' => { 'namespace::clean' => 1, @@ -43,12 +55,17 @@ my (%uselines, %modules, %supplied, %requires); 'TAP::Parser' => 1, 'TAP::Parser::Aggregator' => 1, }, + 'Archive::Zip' => { + 'Archive::Zip::Member' => 1, + } ); GetOptions( 'files-with-match|l' => \ my $l, ); +chmod($FindBin::Bin . '/..'); + find(sub { return unless /(\.p[lm]|console)$/;