Hi,

I am trying to make hash of delivery zones that allows me to maintain a
record of a zone for every postal code based on the first three digits of
each zip.  Being new to perl I have a few questions about the logical
approach.

Should I list zones as the name component with zips as a list of values and
try to work through the values to establish a zip's zone identity.

%zone={
one => [370,422..430,476,490..500]
two=> [200..232,388]

Also, is it possible to utilize ranges from within the value or name of hash
variables?

etc.



Or should list all the possible zips as the name component with it's
corresponding value? (ouch!)

%zone = {370,one,422,one,423,one,424,one, etc........999,whatever}


What are pros and cons of my different options... if there is any?

Thanks,
Mark


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to