Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Secret Perl Operators: the boolean list squash operator, x!!

by zby (Vicar)
on Aug 01, 2006 at 07:39 UTC ( #564941=note: print w/replies, xml ) Need Help??


in reply to Secret Perl Operators: the boolean list squash operator, x!!

That's interesting, but I would rather use the first, push version. When I see code like the push version I don't need to think about what is being done here - it's automatic. I also rather not use the ternary operator - it's too rare to become automatic in my brain.
  • Comment on Re: Secret Perl Operators: the boolean list squash operator, x!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://564941]
help
Chatterbox?
Eily translate("Eilish ", "Proper English")
[shmem]: perl -E '($what=FOOL & MONK)=~s/(.)$/ chr((ord$1)+12)/e; say $what'

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-07-24 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (356 votes). Check out past polls.