in reply to The latest & greatest in 5.8.x?

Also, if it's "your bag" ...

"map in void context is no longer expensive. map is now context aware, and will not construct a list if called in void context."

--
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you.
" (src)

Replies are listed 'Best First'.
Re: Re: The latest & greatest in 5.8.x?
by drewbie (Chaplain) on Apr 21, 2004 at 17:34 UTC
    I have changed all my code to not use map in a void context because of the speed penalty and because it's "bad style". That said, I prefer not using it in this manner anyway. foreach() is much easier to read if you're just trying to loop through a list anyway. :-)