
Jasmine
Administrator
Mar 15, 2001, 6:10 AM
Post #1 of 1
(31182 views)
|
What's wrong with using grep or map in a void cont
|
Can't Post
|
|
What's wrong with using grep or map in a void context? Both grep and map build a return list, regardless of their context. This means you're making Perl go to the trouble of building up a return list that you then just ignore. That's no way to treat a programming language, you insensitive scoundrel!
|