in reply to Re: Learning about hashes
in thread Learning about hashes
Ultimately I want to output the unique entries in eslist but I can't even get it to count the number of keys in the hash and I'm getting a "odd number of elements in hash assignment" errors when using use warnings. I'm guessing there is something wrong with how I am trying to pass $record3 into the hash.while <(inFile)> { my @record = split /\|/, $_; my %eslist = $record[3]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Learning about hashes
by GrandFather (Saint) on Oct 16, 2009 at 05:06 UTC | |
by molson (Acolyte) on Oct 20, 2009 at 19:45 UTC | |
by GrandFather (Saint) on Oct 20, 2009 at 20:17 UTC | |
|
Re^3: Learning about hashes
by toolic (Bishop) on Oct 16, 2009 at 01:09 UTC | |
by molson (Acolyte) on Oct 16, 2009 at 16:16 UTC | |
|
Re^3: Learning about hashes
by DamianKaelGreen (Acolyte) on Oct 22, 2009 at 16:58 UTC |