Hi !

I just installed mod_perl 1.25 / apache 1.3.17 to speed up a CGI already
existing.
All works well, finally...

but I had a problem with my variables initialization:
I used at beginning of script:
        ...
        my($var) = '';
        ...
I know this is a little dirty... everyway,
It seems that when mod_perl encouter a 'my' statement,
it doesn't evaluate it again next time the script is executed.
To solve this I had to use:
        ...
        my($var);
        ...
        $var='';
        ...
It gave me headaches, cause this is not specified in mod_perl_traps.
Perhaps It would be good to add this in the mod_perl_traps man page.
That'all...

errr... just a question therefore:
        Is there an explication to this mod_perl comportement ?
        (Just curious ;o)

Cheers,

-- 
Helios     de     Creisquer
mail:     [EMAIL PROTECTED]

Reply via email to