A
Anders Christensen
Hey,
Could anyone help me understanding the following code-example. The
code-example is taken out of a context, so it won't give any functionality
as you see it - what I'd like help on is what $:: and %:: means...? Which
scalar and hash is in question?
The codeexample:
#[Bla,bla,bla...]
sub ProcessFormFields {
my ($buffer) = (@_);
return ParseUrlString($buffer, %::FORM, %::MFORM);
}
#[Bla,bla,bla...]
if ( defined $::FORM{$fieldname} ) {
$::FORM{$fieldname} .= $fieldvalue;
#[Bla,bla,bla...]
}
../Anders
Could anyone help me understanding the following code-example. The
code-example is taken out of a context, so it won't give any functionality
as you see it - what I'd like help on is what $:: and %:: means...? Which
scalar and hash is in question?
The codeexample:
#[Bla,bla,bla...]
sub ProcessFormFields {
my ($buffer) = (@_);
return ParseUrlString($buffer, %::FORM, %::MFORM);
}
#[Bla,bla,bla...]
if ( defined $::FORM{$fieldname} ) {
$::FORM{$fieldname} .= $fieldvalue;
#[Bla,bla,bla...]
}
../Anders