From f230209963a59ee6bc338be9763c7f501d917193 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 9 Feb 2011 15:11:20 +0100 Subject: [PATCH] =?utf8?q?DateTime=20Abh=C3=A4ngigkeiten,=20version=205.xx?= =?utf8?q?=5Fxx=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- scripts/find-use.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/find-use.pl b/scripts/find-use.pl index dbd30aa60..778f11ba8 100644 --- 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} ||= []; -- 2.20.1