in reply to Re: lc entire contents of array?
in thread lc entire contents of array?

It will be more effecient because it doesn't allocate a new array, then deallocate the previous array. Aliasing is a good thing. :-)

That said, I personally think that map is more self-documenting and easier to read. $_ = lc for @array; could really use a comment about aliasing in production code.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose