foo() unless $seen{$key}++;
--MidLifeXis
In reply to Re^3: correct angle on tackling a problem by MidLifeXis in thread correct angle on tackling a problem by diamondsandperls