fpi, to answer your first question.. you can use:
- 1. ByteLoader module
- 2. byteload_fh(FILEHANDLE) that is included with the B module
Which it seems like you're familiar with both of these ways...
From the looks of the second question, you're using ByteLoader correctly. Remember that it's
still in experimental phase.. which would explain why it's a bit unstable. I believe there is an updated version coming out.
I believe you need to do a full compile(perlcc) to include other scripts that you used
in your main script. If you run perlcc with the -b flag, it will generate bytecode instead
of C code.. i.e. perlcc -b helloworld.pl
Here are a few good links:
|