On Dec 3, 2003, at 7:41 AM, Greg Zartman wrote: [..]
Maybe this is just my inexperience showing here,
but I was under the impression that when you
attached a module (i.e. use CGI.pm), it was
compiled with the rest of your script.
If this is incorrect?
[..]

Yes, and sorta.

Those parts of the module that are going to
be 'pre-loaded' will get compiled in the
first time the code starts up. Then one gets
into that part of the process where there are
AutoLoad and/or DynaLoad elements, these will
get 'compiled on the fly' the first time they
are 'thunked', and will be available after that.

So a part of the question is 'which resources'
are you trying to presever in the process, I may
be missing that in all of this...

CGI.pm has perchance the most complex of the
autoloading/importing strategies in the whole
perl distributions. It is part black majik.


ciao drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to