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 >> perl-win32-users
perl-win32-users
Recompile at execute
by wagnerc other posts by this author
Sep 22 2006 6:20PM messages near this date
view in the new Beta List Site
Recompile at execute | Recompile at execute
Normally it's recompiled every time.  The only exception is when ur running
mod_perl under a web server.  Mod_perl keeps the image in memory and reuses
it.  Not only that it saves the complete state information!  U can save and
reuse variables between script calls.  If u had a script under mod_perl that
was just "$i++ and print $i;", every time u clicked refresh the number would
go up.  I've used this "feature" to save significant data (pulling a tftp
file) between invocations.  That makes u be very careful about declaring all
ur variables properly with my.  The first time I used mod_perl I was beating
my head against the wall trying to figure out why the script was seeing old
data :)






--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 > =--
"...ne cede malis"

00000100
Thread:
h-taguchi
oror.list
wagnerc
christopher
r_wray_johnson

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved