in reply to Stuck with Creating Multi-Level hash
That's not possible. $Menu_Multi_Hash{'L1A'}{'L2A'} can either be data, or the hashref pointing to the next level, but never both.$Menu_Multi_Hash{'L1A'}{'L2A'} = 'none'; .... $Menu_Multi_Hash{'L1A'}{'L2A'}{'L3B'}{'L4A'} = 'exe command';
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Stuck with Creating Multi-Level hash
by sara2005 (Scribe) on May 27, 2006 at 00:34 UTC | |
|
Re^2: Stuck with Creating Multi-Level hash
by CountZero (Bishop) on May 27, 2006 at 07:06 UTC |