http://www.perlmonks.org?node_id=281737


in reply to Re: opening a file destroys nulling entries in a list?!?!
in thread opening a file destroys nulling entries in a list?!?!

my first attempt was with
foreach(@instances) { screwed "$_"; };
and then when it didn't work i showed it to someone here at work and he introduced me to maps so i used
map { screwed "$_"; } @instances;
but...
screwed "$_" for @instances;
..is even less typing again!