in reply to
One out of three ain't bad
undef $count; foreach(($x, $y, $z)) { $count++ if($_); } print "Exactly one variable set\n" if($count == 1); --Knom
Comment on
Re: One out of three ain't bad
In Section
Seekers of Perl Wisdom