in reply to Re: Required guidance to simplify this program
in thread Required guidance to simplify this program
hi 2teez.Thanks for your response.
for (@array) { $names{$_}++; }
I would like to know what exactly this piece of code dose
You created a hash and inside the foreach loop i didn't get $names{$_}++ part.Please clarify.Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Required guidance to simplify this program
by 2teez (Vicar) on Jun 04, 2013 at 06:29 UTC | |
by vyeddula (Acolyte) on Jun 04, 2013 at 17:47 UTC |