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

Re: Re: Please 'hack' nicely...

by Biker (Priest)
on May 23, 2002 at 13:56 UTC ( #168768=note: print w/replies, xml ) Need Help??


in reply to Re: Please 'hack' nicely...
in thread Please 'hack' nicely...

"I've recently gotten serious about using map and grep, and suddenly all those awkward foreach loops I've written look like..."

Don't take it too far, though. Read: What's wrong with using grep or map in a void context?


Everything went worng, just as foreseen.

Replies are listed 'Best First'.
Re: Re: Re: Please 'hack' nicely...
by mirod (Canon) on May 23, 2002 at 19:45 UTC

    That said, guess who wrote:

    The argument against using an operator for other than its primary purpose strikes me the same as the old argument that you shouldn't have sex for other than procreational purposes. Sometimes side effects are more enjoyable than the originally intended effect.

    See answer here

      That being said, I'd never grep someone in a void context myself.
      :-)
      ____________

      Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://168768]
help
Chatterbox?
[Corion]: LanX: Ah, yeah - Frankfurt is in the quake region, but at the very border. I think I've never noticed a quake in Frankfurt myself
[marto]: good morning all
[Corion]: On another topic, in the process of Rubber Duck SoPWing, I wrote a post about the best API for generating HTTP requests (not sending them) and while writing it and fleshing out my sample implementation, I came up with some improvements to my ...
[Corion]: ... existing prototype. Cartesian Products will be proud of that module once it gets out ;)
[Corion]: Hi marto ;)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2017-01-18 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (161 votes). Check out past polls.