in reply to Determine if object is file or directory?
perlfunc - see the -X pseudo-functions.print "nothing\n" if not -e $filename; print "directory\n" if -d $filename; print "file\n" if -f $filename;
--
[ e d @ h a l l e y . c c ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Determine if object is file or directory?
by ysth (Canon) on Apr 08, 2004 at 07:25 UTC | |
by halley (Prior) on Apr 08, 2004 at 12:05 UTC |