Z
zorro
Hello,
I've only been doing perl for two weeks so this might be a newbie
problem, yet this error still is kind of strange. I'm fetching an xml
file with get(), and it changes the value of a local variable named
$url - could it be that $url is a reserved word?
$url = $FORM{'someUrl'}; // just some url
if($FORM{'shopInfoUrl'}) // fetching xml file
{
use Socket;
my $xml="";
# when i do a trace here, $url is what it should be
$xml = &get($FORM{'shopInfoUrl'});
# when i do a trace here, $url now equals the fetched url
# while $FORM{'someUrl'} still has the original value
}
Any idea what's going on?
I've only been doing perl for two weeks so this might be a newbie
problem, yet this error still is kind of strange. I'm fetching an xml
file with get(), and it changes the value of a local variable named
$url - could it be that $url is a reserved word?
$url = $FORM{'someUrl'}; // just some url
if($FORM{'shopInfoUrl'}) // fetching xml file
{
use Socket;
my $xml="";
# when i do a trace here, $url is what it should be
$xml = &get($FORM{'shopInfoUrl'});
# when i do a trace here, $url now equals the fetched url
# while $FORM{'someUrl'} still has the original value
}
Any idea what's going on?