Hi all
   
             while learning hash arrays i have got a doubt i.e if the data is 
in the following manner
   
  Name ABC
  AGE  25
  Book perl
  Name DEF
  AGE 20
  Book linux
  Name GHI
  AGE 21
  Book PHP
  .................
  ..............
  ................
  (assume that the above data is already present in a file or it is being 
accepted from user using a program in the above format)
  can anyone help me on how to store the data with hash key as the 'Name' and 
the hash strings as the details of 'AGE' and 'Book'
   
  Thanks in advance for the help
   
  Regards
  Anand

                                
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

Reply via email to