http://www.perlmonks.org?node_id=937837


in reply to Re: Using array variable in regex substitution
in thread Using array variable in regex substitution

the variable name $country_array224 does not look correct
That's because the OP didn't use <code>...</code> tags. It should be $country_array[224]