my @files = map "Whatever/path/$_" grep !/\A\.\.?\z/, readdir DIR;I might be wrong but don't you need a comma in map EXPR, list. If so, that line should be
my @files = map "Whatever/path/$_", grep !/\A\.\.?\z/, readdir DIR;
Cheers,
JohnGG
In reply to Re^2: Read only Files in a Directory
by johngg
in thread Read only Files in a Directory
by Newbee21369
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |