in reply to strict and warnings but no error?

Can I just clarify that I know the initial code is wrong!!!.

Please re-read the post and understand. For clarity, it's easiest to store the data in the format of my example. For practicality, I need to use the values in ext as keys in a new hashref, eg:

my $hashref = { 'cgi' => { icon => 'script.png', description => 'Perl' }, 'pm' => { icon => 'script.png', description => 'Perl' }, 'pl' => { icon => 'script.png', description => 'Perl' }, };

To sum up:

cLive ;-)

--

Update: Ahh, thanks japhy :)