in reply to
ternary operator
Try
$OPER = $_ eq 's' ? 's' : 'c';
[download]
Cheers,
JohnGG
Comment on
Re: ternary operator
Download
Code
In Section
Seekers of Perl Wisdom