>>>>> "mail@adventureforum" == mail@adventureforum net <[EMAIL PROTECTED]> 
>writes:

mail@adventureforum> I am using: mod_perl/1.26

mail@adventureforum> Now I tried to include subroutines from an external .pl file with
mail@adventureforum> "require".

This smells a bit like you're using Apache::Registry (you haven't said
yet) and you've moved some subroutines into a separate file, but not a
separate package, and you either aren't aware or don't understand the
significance of the fact that every Apache::Registry script runs in a
different package.

Could that be the case?

If you're using Apache::Registry, and you're not properly using
packages, you'll get burned.  Turn your external code into a real
module, and things will work again.  Use "use", not "require", not
"do".

print "Just another (mod) Perl hacker,"

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to