Prints:perl -e 'my $n = 10; (1)? $n++ : $n--; print qq~This is $n\n~;'
This is 11
Celebrate Intellectual Diversity
In reply to Re: Short form (ternary) if else
by InfiniteSilence
in thread Short form (ternary) if else
by gg48gg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |