Commit | Line | Data |
---|---|---|
b295d113 | 1 | package ByteLoader; |
2 | ||
9426adcd | 3 | use XSLoader (); |
b295d113 | 4 | |
566ece03 | 5 | our $VERSION = '0.05'; |
b295d113 | 6 | |
9426adcd | 7 | XSLoader::load 'ByteLoader', $VERSION; |
b295d113 | 8 | |
b295d113 | 9 | 1; |
10 | __END__ | |
bf2102da | 11 | |
b295d113 | 12 | =head1 NAME |
13 | ||
14 | ByteLoader - load byte compiled perl code | |
15 | ||
16 | =head1 SYNOPSIS | |
17 | ||
059a8bb7 | 18 | use ByteLoader 0.04; |
b295d113 | 19 | <byte code> |
20 | ||
1df34986 | 21 | or just |
22 | ||
23 | perl -MByteLoader bytecode_file | |
b295d113 | 24 | |
25 | =head1 DESCRIPTION | |
26 | ||
1df34986 | 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. | |
b295d113 | 30 | |
31 | =head1 AUTHOR | |
32 | ||
33 | Tom Hughes <tom@compton.nu> based on the ideas of Tim Bunce and others. | |
1df34986 | 34 | Many changes by Enache Adrian <enache@rdslink.ro> 2003 a.d. |
b295d113 | 35 | |
36 | =head1 SEE ALSO | |
37 | ||
38 | perl(1). | |
39 | ||
40 | =cut |