On Nov 18, mark said:

>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]

>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}

It really depends how YOU need to use %zone.  Do you need to find out what
numbers (370, 422, etc.) belong to which zone ("one", etc.)?  Or do you
need to know the other way around?

Do you want to be able to say:

  $zone = $this_hash{$zip};

or

  @zips = @{ $this_hash{$zone} };

If you want to do both, you could.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


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

Reply via email to