in reply to Should I fear eval? (want to do two things on the left side of an if/unless)
If you're not using compound statements you can just put the comma operator to use e.g
my $type="blee"; print("bad type\n"), print("blee\n") unless ($type eq "newer" || $type eq "older");
HTH
_________
broquaint
In Section
Seekers of Perl Wisdom