ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk-beta
pdk-beta
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved