Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Using array variable in regex substitution

by hbm (Hermit)
on Nov 11, 2011 at 23:02 UTC ( #937687=note: print w/ replies, xml ) Need Help??


in reply to Using array variable in regex substitution

First, note that your code is a little garbled because you didn't put it within code tags.

For your problem, is it because you have $country_array[224} with a closing brace, not bracket?


Comment on Re: Using array variable in regex substitution
Download Code
Re^2: Using array variable in regex substitution
by tunafish (Acolyte) on Nov 11, 2011 at 23:07 UTC

    Sorry about the code part, I'm still new to perlmonks :)

    And yup, you nailed it! A "durrr" moment for sure

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://937687]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2013-05-26 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (522 votes), past polls