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