t/op/oct.t See if oct and hex work
t/op/ord.t See if ord works
t/op/or.t See if || works in weird situations
-t/op/override.t See if operator overriding works
t/op/overload_integer.t See if overload::constant for integer works after "use".
+t/op/override.t See if operator overriding works
t/op/pack.t See if pack and unpack work
t/op/pat.t See if esoteric patterns work
t/op/pos.t See if pos works
package Module::Load;
-$VERSION = '0.10';
+$VERSION = '0.12';
use strict;
use File::Spec ();
: File::Spec->catfile( @parts );
$file .= '.pm' if $pm;
+
+ ### on perl's before 5.10 (5.9.5@31746) if you require
+ ### a file in VMS format, it's stored in %INC in VMS
+ ### format. Therefor, better unixify it first
+ ### Patch in reply to John Malmbergs patch (as mentioned
+ ### above) on p5p Tue 21 Aug 2007 04:55:07
+ $file = VMS::Filespec::unixify($file) if $^O eq 'VMS';
return $file;
}
to import from a module, even if the functions are in that modules'
C<@EXPORT>)
+=head1 ACKNOWLEDGEMENTS
+
+Thanks to Jonas B. Nielsen for making explicit imports work.
+
+=head1 BUG REPORTS
+
+Please report bugs or other issues to E<lt>bug-module-load@rt.cpan.org<gt>.
+
=head1 AUTHOR
This module by Jos Boumans E<lt>kane@cpan.orgE<gt>.
-Thanks to Jonas B. Nielsen for making explicit imports work.
-
=head1 COPYRIGHT
-This module is
-copyright (c) 2002 Jos Boumans E<lt>kane@cpan.orgE<gt>.
-All rights reserved.
+This library is free software; you may redistribute and/or modify it
+under the same terms as Perl itself.
-This library is free software;
-you may redistribute and/or modify it under the same
-terms as Perl itself.
=cut
my $mod = 'Must::Be::Loaded';
my $file = Module::Load::_to_file($mod,1);
- # %INC on VMS has all keys in UNIX format
- $file = VMS::Filespec::unixify($file) if $^O eq 'VMS';
-
eval { load $mod };
is( $@, '', qq[Loading module '$mod'] );