Change 31074 by [EMAIL PROTECTED] on 2007/04/25 14:53:57 Move the require at the top of the file. Else, Test::More has test failures.
Affected files ... ... //depot/perl/lib/overload.pm#53 edit Differences ... ==== //depot/perl/lib/overload.pm#53 (text) ==== Index: perl/lib/overload.pm --- perl/lib/overload.pm#52~31073~ 2007-04-25 05:15:55.000000000 -0700 +++ perl/lib/overload.pm 2007-04-25 07:53:57.000000000 -0700 @@ -2,6 +2,8 @@ our $VERSION = '1.06'; +require Scalar::Util; + sub nil {} sub OVERLOAD { @@ -73,7 +75,6 @@ sub Method { my $package = shift; if(ref $package) { - require Scalar::Util; $package = Scalar::Util::blessed($package); return undef if !defined $package; } End of Patch.