in reply to Building a nested data structure from File::Find
sub Load { my $dir = shift; my %tree; find(sub { push @{$tree{ $File::Find::dir }}, $_; }, $dir); ... } [download]