This message was sent from Geocrawler.com by "Billow" <[EMAIL PROTECTED]>
Be sure to reply to that address.
I am a new user in Mod_perl.
I found a trange problem.
I defined some viariables in main script.(use my
...)
And I want to use it directly in the subroutine.
But sometimes, I can use the viariables, sometimes
they are null. (I use reload in my browser)
The script is like:
###########################
.....
my (@a,@b) = ();
@a = ...
@b = ...
xxxx();
function xxxx
{
print "@a";
print "@b";
}
######################
Any hints?
If I use xxx(@a,@b),
in function xxxx, I use my($a,$b) = @_;,
it's ok.
Any differences in Mod_perl with Cgi-Perl????
Geocrawler.com - The Knowledge Archive