Phoenix.pm: Dynamic code loads under POE.

Scott Walters scott at illogics.org
Mon Nov 10 22:15:01 CST 2003


Reminds me of the trick where you undef a module from %INC to force
it to be reloaded next time it is use'd. I've done atleast one
mod_perl site where it walked through the main:: namespace,
looked for other namespaces, did a -m on the computed 
possible filenames for the module with the help of Config.pm,
and should it find something newer than the one loaded, it would
undef it from %INC and eval "use" it, and timestamp it.

I too feel that Legos greatly influenced my programming style
and mental model.

-scott


On  0, Bill Nash <billn at billn.net> wrote:
> 
> 
> In actual Perl related news, rcaputo posted my long overdue write up on
> dynamic code reloading within live POE processes:
> 
> http://poe.perl.org/?POE_Cookbook/Dynamic_Loading
> 
> Discuss. =)
> 
> - billn
> 
> 



More information about the Phoenix-pm mailing list