close
http://www.learningperl6.com/Chapters/10.dirhandles.html
http://linux.tnc.edu.tw/techdoc/perl_intro/x843.html
http://perldoc.perl.org/File/Glob.html
http://www.unix.org.ua/orelly/perl/prog3/ch32_22.htm
http://www.physiol.ox.ac.uk/Computing/Online_Documentation/Perl-5.8.6/File/Glob.html
use File::Glob;
my @a = glob( ''$targetDir/*'' );
foreach( @a ) {
# do something here: $_
}
全站熱搜