Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Useless unless

by neniro (Priest)
on Aug 06, 2005 at 08:02 UTC ( #481458=note: print w/replies, xml ) Need Help??


in reply to Useless unless

I often use 'unless' as statement-modifier. It's one of the syntactic sugars in perl that even made the way into ruby. Of course it's just a negated if-clause, but to me it's more natural and I think that was the idea why Larry put it into perl.

Beside this, where do we stop if we remove such features from perl? Do we get 'yet another context-free language' like python, with it's poor set of terms to express the programmer thoughts?

Replies are listed 'Best First'.
Re^2: Useless unless
by MonkOfAnotherSect (Sexton) on Aug 09, 2005 at 03:28 UTC
    Do we get 'yet another context-free language' like python, with it's poor set of terms to express the programmer thoughts?

    print "Stop " + "trolling%s"%(chr((60+60)%87))

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2023-02-02 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (19 votes). Check out past polls.

    Notices?