in reply to Read only Files in a Directory
I've used something akin to:
$base = '/usr/local/bin/'; @glob = grep { -f ($base . $_)} @glob;
corrected really dumb spelling error.
emc
Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Read only Files in a Directory
by Hue-Bond (Priest) on Aug 01, 2006 at 22:01 UTC | |
by swampyankee (Parson) on Aug 02, 2006 at 14:24 UTC |