in reply to
Too much SQL not enough perl
A)
if ( $question eq 'a' || $question eq 'b' || $question eq 'c' )
B)
if ( grep m/$question/, qw/a b c/ )
update
I figured I would add this is solved in perl6 also.
Evan Carroll
www.EvanCarroll.com
Comment on
Re: Too much SQL not enough perl
Select
or
Download
Code
In Section
Seekers of Perl Wisdom