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.
In reply to Re: Stuck with Creating Multi-Level hash
by merlyn
in thread Stuck with Creating Multi-Level hash
by sara2005
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |