in reply to Re: Search Hash with array element Help!
in thread Search Hash with array element Help!
I really liked ur concise code. :) I didn't understand how the following statement:
my ($num) = $id =~ /(\d+)/ or next;
I understand what the result is but I didn't understand how does that gives you a numeric form and removes the characters. Actually, this is the first time I have seen something like this therefore, can you please forward me some reference material too.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Search Hash with array element Help!
by ikegami (Patriarch) on Mar 04, 2010 at 22:45 UTC |