Reputation: 3867
I am converting some Perl code to php, and I've stumbled on something, which I don't know for sure what it is.
if(!$continenttxt_cached{$savedcontinentid.'_'.$savedcountrygroupid})
What does the {}
bracket do here? Is this a standard array element accessed this way? Because I am converting only a small part of a rather large code, I can't find how was $continenttxt_cached
defined, so I can only presume this is an array. Is the {}
used for something else in Perl?
Upvotes: 1
Views: 80