[svk-commit] r2173 - trunk/lib/SVK

mndrix at bestpractical.com mndrix at bestpractical.com
Sat Nov 18 10:09:55 EST 2006


Author: mndrix
Date: Sat Nov 18 10:09:54 2006
New Revision: 2173

Modified:
   trunk/lib/SVK/Util.pm

Log:
Stop a warning during t/72sign.t ("Prototype mismatch: sub SVK::Util::max:
none vs (@)") by adding the appropriate prototype to 'autouse'.

Modified: trunk/lib/SVK/Util.pm
==============================================================================
--- trunk/lib/SVK/Util.pm	(original)
+++ trunk/lib/SVK/Util.pm	Sat Nov 18 10:09:54 2006
@@ -36,7 +36,7 @@
 use autouse 'File::Basename' 	=> qw(dirname);
 use autouse 'File::Spec::Functions' => 
                                qw(catdir catpath splitpath splitdir tmpdir);
-use autouse 'List::Util'        => qw(max);
+use autouse 'List::Util'        => qw( max(@) );
 
 =head1 NAME
 


More information about the svk-commit mailing list