in reply to Catching . .. in file listing
use strict; use warnings; opendir my $dh, $new_dir or die "Cannot open directory"; my @GPS = grep { -f "$new_dir/$_" } readdir($dh); closedir $dh;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Catching . .. in file listing
by johngg (Canon) on May 01, 2009 at 17:19 UTC |