X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FByteLoader%2FByteLoader.pm;h=cf9fdf287422484b0907235a912ee1e6231cb414;hb=36d57d93b96b25d607e30e624947d4248efa2ead;hp=d11d9573c7b8f30afb5ff7c230000b079707e35d;hpb=e0284a306d2de082f33ef0d8787355c6d4e646d8;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/ByteLoader/ByteLoader.pm b/ext/ByteLoader/ByteLoader.pm index d11d957..cf9fdf2 100644 --- a/ext/ByteLoader/ByteLoader.pm +++ b/ext/ByteLoader/ByteLoader.pm @@ -1,14 +1,10 @@ package ByteLoader; -require DynaLoader; +use XSLoader (); -@ISA = qw(DynaLoader); +our $VERSION = '0.05'; -$VERSION = 0.01; - -bootstrap ByteLoader $VERSION; - -# Preloaded methods go here. +XSLoader::load 'ByteLoader', $VERSION; 1; __END__ @@ -19,21 +15,23 @@ ByteLoader - load byte compiled perl code =head1 SYNOPSIS - use ByteLoader 0.01; + use ByteLoader 0.04; - use ByteLoader 0.01; - + or just + + perl -MByteLoader bytecode_file =head1 DESCRIPTION -This module is used to load byte compiled perl code. It uses the source -filter mechanism to read the byte code and insert it into the compiled -code at the appropriate point. +This module is used to load byte compiled perl code as produced by +C. It uses the source filter mechanism to read +the byte code and insert it into the compiled code at the appropriate point. =head1 AUTHOR Tom Hughes based on the ideas of Tim Bunce and others. +Many changes by Enache Adrian 2003 a.d. =head1 SEE ALSO