Quote:
Originally Posted by stukov
Am I expected to work with an array or an hash?
|
Furhter testing indicates that :
Code:
foreach my $i (@$attributes)
{
print $i . ENDL;
}
works but
Code:
foreach my $i (%$attributes)
{
print $i . ENDL;
}
does not.
Now, how am I expected to provide a key-value pair when I need to work with an array?