Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: question for perl book & magazine authors

by perrin (Chancellor)
on Oct 19, 2005 at 21:30 UTC ( #501437=note: print w/ replies, xml ) Need Help??


in reply to question for perl book & magazine authors

Are you asking why they aren't more widely used? Probably because they aren't as widely understood and often result in code that's harder to read. (Your code has to resort to $_ for example, instead of a more informative variable name.) They definitely have their uses and I use them in my code when they seem to provide a benefit over other loop constructs, but a bunch of chained maps and greps is probably not the first tool to reach for if you're concerned about the legibility of your code.


Comment on Re: question for perl book & magazine authors

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://501437]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2014-07-24 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (163 votes), past polls