in reply to Perl List files in directory
use strict; use warnings; use File::Find; find(&dostuff, '/opt/tmp'); sub dostuff { # $File::Find::name = /opt/tmp/foo # $_ = foo # $File::Find::dir = /opt/tmp } [download]