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 }
In reply to Re: Perl List files in directory
by jellisii2
in thread Perl List files in directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |