array to hash array

2010-07-26 Thread Sharan Basappa
Hi, Can someone tell me how to convert an array to hash. Each array entry has a row of values e.g. a(0) = ab cd ef; a(1) = mn de fg The hash array needs to be constructed with one of the element in the array row as the key. e.g. hash{ab} = cd ef - ab is a string in the array row hash

AW: array to hash array

2010-07-26 Thread Thomas Bätzler
Sharan Basappa asked: > Can someone tell me how to convert an array to hash. > > Each array entry has a row of values > e.g. a(0) = ab cd ef; a(1) = mn de fg > > The hash array needs to be constructed with one of the element in the > array row as the key. > e.g. hash{ab} = cd ef - ab is a s

Re: array to hash array

2010-07-26 Thread Teo
Dear Sharan, > Can someone tell me how to convert an array to hash. > > Each array entry has a row of values > e.g. a(0) = ab cd ef; a(1) = mn de fg > > The hash array needs to be constructed with one of the element in the > array row as the key. > e.g. hash{ab} = cd ef      - ab is a string in th

Re: array to hash array

2010-07-27 Thread C.DeRykus
On Jul 26, 3:22 am, sharan.basa...@gmail.com (Sharan Basappa) wrote: > Hi, > > Can someone tell me how to convert an array to hash. > > Each array entry has a row of values > e.g. a(0) = ab cd ef; a(1) = mn de fg > > The hash array needs to be constructed with one of the element in the > array row