On 13 February 2010 06:42, Owen <rc...@pcug.org.au> wrote: > The program below works, but I don't believe I have to make the > reference # my $svgs = \...@svgs; to get it into the hash; > > I think I should be able to do something like > > $folders{$folder} = @svgs; > print "$folders{Ztyx}->[3]\n";
You want a array reference there so $folders{$folder} = \...@svgs; Saving you from having to make this assignment; my $svgs = \...@svgs; $folders{$folder} = $svgs; HTH, Dp. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/