Try this (untested):
my $items; for my $file (@file) { push @$items, { name => $file, url => \&Arbitrary_menu_2, # WHere do you get this from + ? }; }
When in doubt, mumble; when in trouble, delegate; when in charge, ponder. -- James H. Boren
In reply to Re: Stuck trying to append to a hash, I think
by NetWallah
in thread Stuck trying to append to a hash, I think
by Bronston
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |