Re: mod-perl, modules and initializations

2002-01-08 Thread Perrin Harkins
What is the difference between how a BEGIN block and an anonymous block in a module loaded into mod_perl? It looks to me like you are confused about our and BEGIN. If you change the our to a use vars I think it will fix your problems. This is not mod_perl-specific. Are anonymous blocks in

Re: mod-perl, modules and initializations

2002-01-08 Thread Perrin Harkins
By load stage I mean BEGIN blocks, anonymous subroutines in packages loaded at startup, or even named subroutines called from startup.pl All of those things happen during server startup, before any request has been submitted. There is no form data at that time. Maybe if you could explain

Re: mod-perl, modules and initializations

2002-01-08 Thread Dave Morgan
I'm trying to populate select boxes(or other input types)for my HTML pages. An example would be a drop down list of states and/or provinces. A large number of these are populated from lookup tables in the dba and are relatively static. I understand there is no form data at that time, however,

Re: mod-perl, modules and initializations

2002-01-08 Thread Perrin Harkins
On Tuesday 08 January 2002 08:16 pm, Dave Morgan wrote: I'm trying to populate select boxes(or other input types)for my HTML pages. An example would be a drop down list of states and/or provinces. A large number of these are populated from lookup tables in the dba and are relatively static.

mod-perl, modules and initializations

2002-01-07 Thread Dave Morgan
Hi All, My environment is Apache, mod-perl, Apache::DBI, oracle backend, everything works fine. The problem is always MY code :) I'm trying to figure out the correct/efficient way to initialize constants in a module. What I need to do is initialize

Re: mod-perl, modules and initializations

2002-01-07 Thread ___cliff rayman___
the guide is your friend: http://perl.apache.org/guide Dave Morgan wrote: What is the difference between how a BEGIN block and an anonymous block http://thingy.kcilink.com/modperlguide/porting/BEGIN_blocks.html Another problem is when I try to build a SELECT HTML element