in reply to Probably an easy map question

I hardly ever use map, I'm forcing myself to use it when dealing with whole arrays
This sounds you rather don't use map. That's fine. Perl allows you do things in more than one way, and avoiding map seldomly leads to complicated code.

Instead of forcing yourself to use map, you may be better off to not use it at all.

Replies are listed 'Best First'.
Re^2: Probably an easy map question
by jdporter (Paladin) on Jan 15, 2009 at 18:01 UTC

    Forcing yourself to use a feature you normally avoid is a good way to learn about it, and that can't be bad. If nothing else... it'll help prepare you for when you need to maintain someone else's code.

    Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.