Perl Monk, Perl Meditation | |
PerlMonks |
Problem with arrayby kepler (Scribe) |
on May 24, 2011 at 08:10 UTC ( [id://906447]=perlquestion: print w/replies, xml ) | Need Help?? |
kepler has asked for the wisdom of the Perl Monks concerning the following question: Hi ,I've got a script that searches a database and gives a result, something like this:
Also I have an array %codes in the form "PO14","Lisboa", "PO17","Porto", etc When I join PO to 14 for example and go to $codes{"PO14} it matches - it gives me Lisbon region; but it will ignore the PO17; only the PO20 will be read and will ignore the PO06... Does anyone has any idea why? Kind regards, Kepler
Back to
Seekers of Perl Wisdom
|
|