Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: how mod_perl finds if code has already been compiled

by Sihal (Pilgrim)
on Jun 17, 2003 at 12:09 UTC ( [id://266442]=note: print w/replies, xml ) Need Help??


in reply to how mod_perl finds if code has already been compiled

I posted this already but since it offers some kind of conclusion abbout the topic, I figured I would repost it here so than it can be better seen:

This would be a very good solution indeed if my module was object oriented...
I found some stuff about why what I wanted to do isn't possible on : Name Collision of Modules and libs
A very interesting reading for us mod_perl users.
Now I think i will use a method based on the previous link: Config Files, using a hash with a key for each vHost.
This seems the most sensible appproach.

It's (only?) drawback I guess it that there will have some many hash lookups which could hit performance, but on the other hand it will save a lot of memory since I won't have to export as many symbols.
  • Comment on Re: how mod_perl finds if code has already been compiled

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2025-02-17 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found