perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomáš Bažant <>
Subject mod_perl / and 'our' variables
Date Tue, 21 Jul 2009 07:29:36 GMT

i'm new here and have a problem i have not been able to solve for 2 days

i'm writing a web application using %SUBJ% and would like to set 'our
$dbh = ...' so that i do not need to pass db handler as an argument to
functions in different packages every time i need. but this 'global'
variable is not seen inside imported package as $::dbh (as it is in
normal non-mod_perl application).

Any idea?

Tomáš Bažant <>
Novell, SUSE Linux s.r.o.

View raw message