in reply to hash or arrays
cLive ;-)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"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: hash or arrays
by Anonymous Monk on Oct 03, 2004 at 19:47 UTC |