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: $_
}

arrow
arrow
    全站熱搜

    wenching520 發表在 痞客邦 留言(0) 人氣()