in reply to Perl Hashes, keys under keys (I think)?
Try changing your assignment from this:
$records{"$owner_record[1]"} = [ "$owner_record[5]", "$owner_record[0] +", ... ];
To this:
$records{"$owner_record[1]"} = { USER => "$owner_record[5]", FILENAME +=> "$owner_record[0]", ... };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Hashes, keys under keys (I think)?
by mmartin (Monk) on Sep 19, 2011 at 15:48 UTC | |
by duyet (Friar) on Sep 19, 2011 at 15:56 UTC | |
|
Re^2: Perl Hashes, keys under keys (I think)?
by mmartin (Monk) on Sep 19, 2011 at 15:52 UTC | |
by AnomalousMonk (Archbishop) on Sep 19, 2011 at 17:04 UTC | |
by mmartin (Monk) on Sep 19, 2011 at 17:57 UTC | |
by duyet (Friar) on Sep 19, 2011 at 15:57 UTC |