[ create a new paste ] login | about

Link: http://codepad.org/SxXpJnWQ    [ raw code | fork ]

C, pasted on Jul 15:
1
2
3
4
5
my $variable    = (condition1   ) ? 'result1'
                : (condition2   ) ? 'result2'
                : (condition3   ) ? 'result3'
                :                   'fallthrough'
;


Create a new paste based on this one


Comments: