http://qs321.pair.com?node_id=287872


in reply to Re: Help me improve this sub with named params!
in thread Help me improve this sub with named params!

for a slightly nicer version, what about:
my @valid = qw/foo bar baz/; my %args=(stuff); for(@args{@valid}) { next if not defined; }