Re: Iterated Hash Names



"JP" == Jeff Pang <rwwebs@xxxxxxxxx> writes:

JP> If you really want to use a variable as hash's names,you may need to
JP> eval a string,which is not good so.

ewww. that is nasty overkill for a simple hash of hashes. newbies NEVER
need to dynamically name variables, they only think they do as they
don't know how to make perl data structures. never answer string eval or
symrefs for basic perl data munging like this.

uri

--
Uri Guttman ------ uri@xxxxxxxxxxxxxxx -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
.