On Fri, 2003-10-17 at 12:46, Simon Dassow wrote: > Hi People, > I'm trying to write a modular system with mod_perl but currently i cant > store data into hashes in the other modules. > I can store data into the hash but if i dump it there is no change :-(
What makes you think that? It works perfectly for me. Here's a stand-alone test: package My::Data; use strict; sub init { %My::Data::temp=( test => "123", ); } package My::Home; use strict; use Data::Dumper; sub handler { My::Data->init(); $My::Data::temp{foo}="bar"; print Dumper(\%My::Data::temp); } My::Home::handler(); - Perrin