0.07 17 September 2003
Argh. I guess it is one of those days. Using strict in load.pm
bleeds into the eval's and causes compile errors. And of course
the test-suite didn't catch it. Removed stricture but added a
comment in the source about it. Adapted the test-suite so it _will_
catch it this time (but won't of course, because it's fixed).
0.06 17 September 2003
Finally figured how to make something like a test-suite. Now checks
whether ondemand subs can be called and whether or not they exist
and can be can()ned.
Argh. A type caused the "now" functionality to completely broken.
This is now fixed. Problem was introduced in version 0.02.
Added optional support for strict and warnings in the source.
11 August 2003
Fixed stupid typo in Makefile.PL that caused description of module
not to be included ever.
Verified load.pm will work on Perl 5.8.1.
0.05 29 December 2002
Increased version to be able to upload a more recent version of load.pm
to CPAN to prevent interference with Jos 'Kane' Boumans' version of
load.pm.
0.04 21 October 2002
Fixed small problem when running with warnings and attempting to access
non-existing subroutine. Spotted by Lars Fenneberg.
0.03 1 October 2002
Changed using of lexical file handles to globs, to ensure compatibility
with earlier versions of Perl.
Fixed problem with running with warnings (caused by UNIVERSAL::can
redefine). Removed use strict and other stuff to make this module
yet leaner and meaner.
0.02 30 September 2002
Now hijacks UNIVERSAL::can so that ->can does the right thing for
subroutines that have not been loaded yet. As a side effect, this
loads the subroutine specified. Added documentation to reflect that.
Localised $_, $! and $@ at several places just to make sure they
don't clobber anything on the outside.
Added support for line numbers and file name (swiped from AutoSplit
generated code), so that eval errors will give you more information.
Added check for DESTROY: apparently you get an infinite loop if you're
gotoing the DESTROY if it doesn't exist. Now AUTOLOAD just returns
for DESTROY if it doesn't exist.
Fixed typo in _scan() which would trigger a loop if a second __END__
was encountered in the source of a module.
0.01 29 September 2002
First version of load.pm, renamed from jit.pm after discussions on and
off p5p.