in reply to Re: Ternary Operator with Subroutine
in thread Ternary Operator with Subroutine
There must be something I didnt understand yet, so I excuse my question, dear Monks.
But why would anyone would like to do that? Is there any possibility, that
may fail?my $test
It seems to me like writing
(And in that case, I could imagine some kind of debug-switch or so).if (1) { print "some"; } else { print "thing"; }
Please enlighten me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Ternary Operator with Subroutine
by BrowserUk (Patriarch) on Aug 12, 2011 at 08:48 UTC |