in reply to Is this normal for File::Find or where did I go wrong.
$RootDir = "/www/htdocs"; find(\&wanted, $RootDir); foreach (@list) { ...do some... } sub wanted { my $arg = $_ if ( $arg =~ /\.html/ ) { push @list, $arg; } $_ = $arg return; } [download]