Getting a result from "foreach" blockby v_melnik (Beadle)
|on Jun 25, 2014 at 11:42 UTC||Need Help??|
v_melnik has asked for the
wisdom of the Perl Monks concerning the following question:
I tried to google the answer, but haven't successed, so I'll be grateful for your help.
How can I get some list of results of some "foreach" loop? Just something like that:
Right now I'm using the following construction that I don't like:
Of course, I'm not too happy with that. How does the best way look like?
Lots of thanks to all for hints, tips and ideas!