|Keep It Simple, Stupid|
if/else syntaxby Anonymous Monk
|on Jun 26, 2009 at 15:03 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I was writing some code other day when a thought if it's possible to write a if/else without brackets.
When it's just a if perl got a nice syntax:
but what if I want a else ?
in C it would be like:
there is any way I can do this in perl ?
PS. I already know the (a?b:c) syntax, but I don't like it.