Find Error Message

2005-11-21 Thread andrewmchorney
Hello I am working on a perl script and the 1st step is to get a list of all the files on the C drive. I am getting an error message - Can't stat c:*.*: No such file or directory Here is my perl script: use strict; use warnings; use File::Find; $| = 1; #Autoflush STDOUT #finddepth comes

RE: Find Error Message

2005-11-21 Thread Timothy Johnson
I think it will work if you just leave out the *.* it will work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 12:14 PM To: beginners@perl.org Subject: Find Error Message Hello I am working on a perl script and the 1st step

Re: Find Error Message

2005-11-21 Thread Bob Showalter
[EMAIL PROTECTED] wrote: I am getting an error message - Can't stat c:*.*: No such file or directory find(\BadNames,c:\\*.*); What should the find statement look like? The argument should be a directory name (or multiple directories), not a glob pattern. So use C:\\, or c:/ -- To