Directory munging [was: Re: Phoenix.pm: Three snippets]

Tim Ayers tayers at bridge.com
Fri May 4 21:22:17 CDT 2001


>>>>> "EL" == Eden Li <eden.li at asu.edu> writes:
EL> Uh oh... Never use map{} in void context.  It's always best
EL> to use a for() construct in its place if you're not going to do
EL> anything with map's output.

Why? It's just style, right? map {} in void generates a little
garbage, but it would be neglible expect in very unusual
cases. 

Something I'm not thinking of? Thanks for the edification.

Hope you have a very nice day, :-)
Tim Ayers (tayers at bridge.com)




More information about the Phoenix-pm mailing list