Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
now, i want to read it in an hash such that i get :1 2 3 a p x b q y c r z
but, the number of variable in row and columb in the file will vary. Can any one help me with this... Thanks.{1 => [a,b,c], 2 => [p,q,r], 3 => [x,y,z] }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: reading file in Hash
by planetscape (Chancellor) on May 07, 2009 at 06:14 UTC | |
Re: reading file in Hash
by ig (Vicar) on May 07, 2009 at 05:35 UTC | |
Re: reading file in Hash
by jwkrahn (Abbot) on May 07, 2009 at 07:06 UTC | |
Re: reading file in Hash
by targetsmart (Curate) on May 07, 2009 at 06:33 UTC | |
Re: reading file in Hash
by vinoth.ree (Monsignor) on May 07, 2009 at 08:04 UTC | |
by Anonymous Monk on May 07, 2009 at 08:31 UTC | |
Re: reading file in Hash
by perliff (Monk) on May 07, 2009 at 14:44 UTC | |
Re: reading file in Hash
by codeacrobat (Chaplain) on May 07, 2009 at 21:25 UTC | |
by Anonymous Monk on May 08, 2009 at 15:06 UTC | |
Re: reading file in Hash
by bichonfrise74 (Vicar) on May 07, 2009 at 16:16 UTC |