> -Original Message-
> From: Perrin Harkins [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 17, 2005 3:13 PM
> To: Barksdale, Ray
> Cc: mod_perl
> Subject: Re: sharing big global hash and objects
>
>
> Does that work? It looks really strange t
On Thu, 2005-02-17 at 13:56 -0600, Barksdale, Ray wrote:
> The module containing $hash is loaded in startup.pl at boot.
> I then have a package that creates an object based on a slice of the hash:
>
> package FooBar;
>
> use Config qw($hash);
>
> sub new {
> my ($class, $table, $field) = @
I have a large structure loaded from a db table that contains parameter
values.
The structure looks something like following (please excuse formatting, MS
lookOut)
my $hash = {
table1 => {
field1 => {
param1 => val,
param2 =>