For strictly numeric comparison add 0+:
if( keys %{ { map{ 0+$_,$_ } $RB1, $RB2, $WR1, $WR2, $TE1 } } == 5 ) { + say 'all different' } else { say 'some same' };;
In reply to Re^3: Multiple Conditional Statements
by BrowserUk
in thread Multiple Conditional Statements
by jdlev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |