Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 surveying the Monastery: (6)
As of 2014-07-12 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls