Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: PerlEx and .PM recompilation

by larrymcp (Initiate)
on Feb 03, 2012 at 03:04 UTC ( #951587=note: print w/ replies, xml ) Need Help??

in reply to PerlEx and .PM recompilation

Yep, this is normal. In their documentation for PerlEx, it states the following... see 2nd paragraph in particular:
"Before a Perl script is executed, the precompiler compares the last modification time of the script file against the last time it was compiled and cached by PerlEx. If the modification time is more recent, the PerlEx precompiler throws away the cached state, recompiles, and caches the compiled state of the script. The cached state of the script is then executed.
This ensures that PerlEx recognizes any changes to the script that you may make while PerlEx is running. However, any files or modules loaded by the script via require or use will not be reloaded by PerlEx in this way. If you change any modules used by your scripts, restart the web server or reload the PerlEx interpreters."

Comment on Re: PerlEx and .PM recompilation

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951587]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2015-10-08 20:26 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (226 votes), past polls