See. ?: (trinary conditional operator) in perlop.$name = ( defined $nickname ) ? $nickname : ( defined $salutation and defined $last_name ) ? "$saltutation $last_name" : 'Guest';
_________
broquaint
In reply to Re: Truth & Whitespace
by broquaint
in thread Truth & Whitespace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |