Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: A new idiom -or- I Hate Unless

by Your Mother (Archbishop)
on Aug 23, 2004 at 01:14 UTC ( [id://384995]=note: print w/replies, xml ) Need Help??


in reply to A new idiom -or- I Hate Unless

I agree there are times when its use can make things confusing but unless is a very natural language modifier. As such, I love it. It lets me think in perl.

unless ( $me->is_tired ) { $me->go_to_the_market(); } # the other direction, to me, reads perfectly well $me->go_to_the_market() unless $me->is_tired();

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-19 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found