[DELTA]
Changes for 0.42 Wed Feb 9 15:27:14 GMT 2011
=================================================
* Apply patch from Phillip Moore RT #60916, which
fixes an edge-case with obj/ref @INC entries.
'Module::Load::Conditional' =>
{
'MAINTAINER' => 'kane',
- 'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.40.tar.gz',
+ 'DISTRIBUTION' => 'BINGOS/Module-Load-Conditional-0.42.tar.gz',
'FILES' => q[cpan/Module-Load-Conditional],
'UPSTREAM' => 'cpan',
},
$FIND_VERSION $ERROR $CHECK_INC_HASH];
use Exporter;
@ISA = qw[Exporter];
- $VERSION = '0.40';
+ $VERSION = '0.42';
$VERBOSE = 0;
$DEPRECATED = 0;
$FIND_VERSION = 1;
if ( ref $dir ) {
### @INC hook -- we invoke it and get the filehandle back
### this is actually documented behaviour as of 5.8 ;)
+
+ my $existed_in_inc = $INC{$file_inc};
if (UNIVERSAL::isa($dir, 'CODE')) {
($fh) = $dir->($dir, $file);
}
$filename = $INC{$file_inc} || $file;
+
+ delete $INC{$file_inc} if not $existed_in_inc;
} else {
$filename = File::Spec->catfile($dir, $file);
=item *
+C<Module::Load::Conditional> has been upgraded from version 0.40 to 0.42
+
+=item *
+
C<Module::Metadata> has been upgraded from version 1.000003 to 1.000004.
=item *