Re: [PDK-Beta] Filter support in pdk 6?
by Jez White other posts by this author
Nov 1 2004 11:43PM messages near this date
view in the new Beta List Site
RE: [PDK-Beta] Filter support in pdk 6?
|
RE: [PDK-Beta] Filter support in pdk 6?
> On Mon, 01 Nov 2004, Mathieu Longtin wrote:
> > Mildly related question: when you package perl software, do you just
> > pack up the file as they are on disk, or do you let perl "compile"
> > first, and save the state of the interpreter before it starts running
> > the code?
>
> It is mostly just the files from disk. Some modules get modified a little
> to make them work inside PerlApp (e.g. when a module accesses %INC to find
> its own location on disk), and we strip POD from some core modules where
> it is safe to do so.
>
> Saving the state of the interpreter could only be done using the bytecode
> technique. Unfortunately bytecode files in Perl are both larger, and
> slower to load than the corresponding source code, so there is no
> advantage
> in using the bytecode.
Hi Jan,
So, I assume that PerlApp doesn't strip comments either? Would it worth
running the Perl source code through a comment/pod stripper before sending
it to PerlApp?
Cheers,
Jez.
Thread:
Mathieu Longtin
Jan Dubois
Jez White
Mathieu Longtin
Jan Dubois
|