Hi, i don't have the last modperl version installed, and i know that maybe it corrects my problem, but before starting a so tedious process (for many reasons) i just wanted to ask if there is any known problem about it or if it is the normal behaviour of modperl with perl require function.
My version: Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 This is my strange problem. I had a handler that - read an archive - fill an anon hash with that info And now i have changed with a handler that - require a file that has the own struct there. This is the code: $obj->debug('START'); $dir = {}; $dir->{red} = 'A'; require 'file.extension'; $dir->{lastPost} = 'B'; $obj->debug('dom is '.$dir->{dom}); where file.extension is $dir->{dom} = 'C'; $obj->debug('INSIDE'); The strange thing is that, the archive made by $obj->debug show the nex, after 5 executions of the code: START INSIDE dom is B START INSIDE dom is B START dom is START dom is START dom is So only the two first really "requires" the file, but from there the file is no more "executed". Is that a known issue about mp2?? anything related with require?? I've tried to look into the mailists but i've found nothing about it, the same with google. Thanks for all. ----- ¿Qué te traerá el 2004? No te quedes con la duda ¡Descubreló en nuestro Tarot!: http://rappelweb.mujeractual.com/tu_horoscopo/zodiaco.htm Ya.com ADSL:Router 3Com Wireless 11g + 1Mes + Alta Gratis http://acceso.ya.com/adsl/256router/ -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html