http://www.perlmonks.org?node_id=80620
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, Is there anyway (without using hashes) to do something like

if ($a == $b == $c == $d) {
&do_something
}

What I have: 15-20 variables ALREADY have their values (integers)
What I need: tell if all those variables have a same value or not
What I know: there are already ways to do that by using arrays/hashes.

Or, hash is still the fastest way? Thank you...