in reply to hash name from read file
I am reading from a file and want to name different hashes according to the data in the file.A BIG No! What you want is a hash of hashes. Simply define a %data and use your input data as top level keys. see perlref for more about complex data structures.
|
|---|