[Rt-commit] [svn] r994 - rt/branches/rt-3.1/sbin

alexmv at pallas.eruditorum.org alexmv at pallas.eruditorum.org
Tue Jun 1 16:02:29 EDT 2004


Author: alexmv
Date: Tue Jun  1 16:02:28 2004
New Revision: 994

Modified:
   rt/branches/rt-3.1/sbin/rt-test-dependencies.in
Log:
Passing empty import list when loading Module::Versions::Report
bypasses the END block (undocumented feature).  There is no reason to
not give empty import lists to every use, either.


Modified: rt/branches/rt-3.1/sbin/rt-test-dependencies.in
==============================================================================
--- rt/branches/rt-3.1/sbin/rt-test-dependencies.in	(original)
+++ rt/branches/rt-3.1/sbin/rt-test-dependencies.in	Tue Jun  1 16:02:28 2004
@@ -277,7 +277,7 @@
 	my $version = shift;
 
 	print "\t$module $version";
-	eval "use $module $version" ;
+	eval "use $module $version ()";
 	if ($@) {
 		my $error = $@;
 		$error =~ s/\n(.*)$//s;


More information about the Rt-commit mailing list