Front page | perl.beginners |
Postings from March 2002
If statement
Thread Next
From:
Ned Cunningham
Date:
March 29, 2002 08:47
Subject:
If statement
Message ID:
2E2E104B27E7D311B0E20060B06CE3EB150C1F@reserved.trisomik.net
HI,
I am having a very newbie problem.
I am reading an Access database with ODBC and have my data read into
$Data{STATE}
My problem is now I need to match to 16 different states.
I have so far
If ( $Data{STATE} eq "MA" )
Process data
My question is should I use an array to test against and how to code it?
??-
@state="MA CI DE IN OH";
Thank you for anyhelp
Thread Next
-
If statement
by Ned Cunningham