in reply to Re: Read only Files in a Directory
in thread Read only Files in a Directory
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Read only Files in a Directory
by jwkrahn (Abbot) on Aug 02, 2006 at 00:20 UTC | |
|
Re^3: Read only Files in a Directory
by Anonymous Monk on Apr 06, 2007 at 01:23 UTC |