Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: what is benefit of unless ?

by prasadbabu (Prior)
on Feb 05, 2005 at 12:12 UTC ( #428304=note: print w/replies, xml ) Need Help??


in reply to what is benefit of unless ?
in thread unless statements

It is not similar statement.

$a = 10; print "if stmt true" if ($a == 10); print "unless" unless ($a == 10);

Prasad

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://428304]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2017-12-14 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (414 votes). Check out past polls.

    Notices?