in reply to Re: Re: Using map
in thread Using map

You would only receive funky results if you had a file that had a character where you are looking for a . that was not a . say if you had a file name taxman.add2subloc.foo you would still match even though it has a 2 instead of a .
And let me tell you... you don't not want to try to track that error down :) Those are the impossible to find errors :)

and, as has been said, $_ inside the map code block is an alias to the item in the array, so any changes made directly to it (like substitutions) will edit the values in the array.

                - Ant
                - Some of my best work - Fish Dinner