use List Util qw[ reduce ]; print 'They\'re all the same!' if reduce{ $a && $a eq $b ? $a : () } values %hash; [download]
In reply to Re: scanning hash by BrowserUk in thread scanning hash by hotshot