in reply to hash or arrays

Nearly there:
push @{ $file_hash->{$dir} },$file_name; foreach my $file_dir (sort keys %{$file_hash}) { foreach my $file (@{ $file_hash->{$dir} }) { print "$counter Directory: $file_dir $file\n"; } }
cLive ;-)

Replies are listed 'Best First'.
Re^2: hash or arrays
by Anonymous Monk on Oct 03, 2004 at 19:47 UTC
    This is beautiful. Works like a champ. Greatly appreciated.