| 1 | package ByteLoader; |
| 2 | |
| 3 | use XSLoader (); |
| 4 | |
| 5 | our $VERSION = '0.06'; |
| 6 | |
| 7 | XSLoader::load 'ByteLoader', $VERSION; |
| 8 | |
| 9 | 1; |
| 10 | __END__ |
| 11 | |
| 12 | =head1 NAME |
| 13 | |
| 14 | ByteLoader - load byte compiled perl code |
| 15 | |
| 16 | =head1 SYNOPSIS |
| 17 | |
| 18 | use ByteLoader 0.06; |
| 19 | <byte code> |
| 20 | |
| 21 | or just |
| 22 | |
| 23 | perl -MByteLoader bytecode_file |
| 24 | |
| 25 | =head1 DESCRIPTION |
| 26 | |
| 27 | This module is used to load byte compiled perl code as produced by |
| 28 | C<perl -MO=Bytecode=...>. It uses the source filter mechanism to read |
| 29 | the byte code and insert it into the compiled code at the appropriate point. |
| 30 | |
| 31 | =head1 AUTHOR |
| 32 | |
| 33 | Tom Hughes <tom@compton.nu> based on the ideas of Tim Bunce and others. |
| 34 | Many changes by Enache Adrian <enache@rdslink.ro> 2003 a.d. |
| 35 | |
| 36 | =head1 SEE ALSO |
| 37 | |
| 38 | perl(1). |
| 39 | |
| 40 | =cut |