Return to Snippet

Revision: 11115
at January 25, 2009 12:20 by counter202


Initial Code
List text files in the current directory

@files = grep { -f and -T } glob '* .*';
print "@files\n";

Initial URL
http://www.hidemail.de/blog/perl_tutor.shtml

Initial Description


Initial Title
list files in dir

Initial Tags
files

Initial Language
Perl