X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/89c9ff022d3f13e27ba6bda085df15707fcfb0eb..79e5fc33b78b0a84c59a8c514fb0cde26ac128fd:/scripts/find-use.pl diff --git a/scripts/find-use.pl b/scripts/find-use.pl old mode 100644 new mode 100755 index dbd30aa60..4fcb030af --- a/scripts/find-use.pl +++ b/scripts/find-use.pl @@ -12,6 +12,10 @@ my (%uselines, %modules, %supplied, %requires); # easily obtained, I'll just hard code the bigger ones we use here. the same # hash will be filled later with information gathered from the source files. %requires = ( + 'DateTime' => { + 'DateTime::Duration' => 1, + 'DateTime::Infinite' => 1, + }, 'Rose::DB::Object' => { 'Rose::DB::Object::ConventionManager' => 1, 'Rose::DB::Object::Manager' => 1, @@ -46,7 +50,7 @@ find(sub { my ($useline) = m/^use\s+(.*?)$/; - next if $useline =~ /^[\d.]+;/; # skip version requirements + next if $useline =~ /^[\d._]+;/; # skip version requirements next if !$useline; $uselines{$useline} ||= []; @@ -180,11 +184,13 @@ This module is included in C. Don't worry about it. This module is documented in C to be necessary, or is a dependancy of one of these. Everything alright. -= item !missing +=item !missing These modules are neither core, nor included, nor required. This is ok for developer tools, but should never occur for modules the actual program uses. +=back + =head1 AUTHOR http://www.ledgersmb.org/ - The LedgerSMB team