- or download this
use strict;
use gfrmGlobals;
...
elsif ( -d $flNm) { print "is a dir: $flNm\n"; }
else { print "neither file nor dir: $flNm\n"; }
}
- or download this
gfrmDev$ cd DBexportFiles
...
-rw-r--r-- 1 andynic staff 66193 17 Feb 22:08 export_of_gfrm_20110217_
+220832.zip
-rw-r--r-- 1 andynic staff 505830 17 Feb 20:27 importLogOf_export_of_g
+frm_20110217_183048.log
drwxr-xr-x 7 andynic staff 238 18 Feb 12:52 xxxx
- or download this
gfrmDev$ perl -w x.pl
...
neither file nor dir: export_of_gfrm_20110217_220832.zip
neither file nor dir: importLogOf_export_of_gfrm_20110217_183048.log
neither file nor dir: xxxx