From there I narrowed it down to when I try using a module.
Any module? Have you tried it with a very short and simple plain-Perl module? How about requiring a simple .pl file? Or is it only the more complicated modules (which might have locally-compiled binary components)? That kind of information might help further diagnose the problem...
| [reply] |
Actually, it is just any module. I made one with 3 simple functions that do some basic math calculations. It still took as long as a more complicated module.
I then tested my .pl file by writing those functions in the script itself, without using the module, and the page came up more or less instantly.
As you can see, I'm quite stumped.
| [reply] |
| [reply] |
Could you try also loading an external file with "require" as opposed to "use", to confirm that the problem is with loading the module from disk rather than with importing it?
| [reply] |