Fix deparsing of reversed foreach loops,
[p5sagit/p5-mst-13.2.git] / ext / ByteLoader / ByteLoader.pm
index d11d957..cf9fdf2 100644 (file)
@@ -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;
   <byte code>
 
-  use ByteLoader 0.01;
-  <byte code>
+  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<perl -MO=Bytecode=...>. 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 <tom@compton.nu> based on the ideas of Tim Bunce and others.
+Many changes by Enache Adrian <enache@rdslink.ro> 2003 a.d.
 
 =head1 SEE ALSO