http://www.perlmonks.org?node_id=1012441


in reply to Re^4: Hash Question
in thread Hash Question

Yes,
if( $f[0] eq $f[1] and $f[0] eq $f[2] and $f[0] eq $f[3] and $f[0] eq $f[4] and $f[0] eq $f[5] ) { ... }