use Quantum::Superpositions; ... if($_->{Action} eq any( qw(GetAll Make MakeOnly) )) { $_->{Suppress} = 1; }