RE: x-file tests

2003-01-13 Thread HENRY,MARK (HP-Roseville,ex1)
L PROTECTED]' > Subject: RE: x-file tests > > > HENRY,MARK (HP-Roseville,ex1) wrote: > > Hi All, > > > > I'm experiencing some odd results using the x file tests on > files and > > directories. > > > > When I run the following: > &g

RE: x-file tests

2003-01-13 Thread Wagner, David --- Senior Programmer Analyst --- WGO
HENRY,MARK (HP-Roseville,ex1) wrote: > Hi All, > > I'm experiencing some odd results using the x file tests on files and > directories. > > When I run the following: > > opendir(CURDIR, "c:\\") or die "cant open directory: $!\n"; > for

x-file tests

2003-01-13 Thread HENRY,MARK (HP-Roseville,ex1)
Hi All, I'm experiencing some odd results using the x file tests on files and directories. When I run the following: opendir(CURDIR, "c:\\") or die "cant open directory: $!\n"; foreach $direntry (readdir CURDIR) { if (-f $direntry) { print