in reply to Re^2: function like GetOption
in thread function like GetOption
Hash keys are unique. You cannot have 2 identical keys in the same hash. You would have to use some other data structure to represent your data. Maybe an hash of arrays of hashes?
$var = { 1 => [ { a=>, b => 1, c=> 1 }, { a => 2, c => 2 }. ] };
That said, how can channel.1.a be both 1 & 2?
I'm not party to your application details, but that really doesn't make a lot of sense to me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: function like GetOption
by bory (Beadle) on Jun 16, 2005 at 10:59 UTC | |
by BrowserUk (Patriarch) on Jun 16, 2005 at 11:20 UTC | |
by bory (Beadle) on Jun 21, 2005 at 07:35 UTC | |
by BrowserUk (Patriarch) on Jun 21, 2005 at 08:26 UTC | |
by bory (Beadle) on Jun 21, 2005 at 08:40 UTC |