Re: read a directory

2005-02-28 Thread John W. Krahn
Carl Johnson wrote: Hello group, Hello, I'm trying to read the directory "C:\GIS\wrapped_data" and write record. My scripts is erroring with "can't open directory: no such file or directory. What am I missing? $outfile = "$infile.txt"; my $dir = "C:\GIS\wrapped_data"; Perl's double quoted string

Re: read a directory

2005-02-28 Thread Mark Taylor
Hey Carl - I got in a hurry and did some cut and paste without paying close enough attention. The line should read my $dir = 'C:\GIS\wrapped_data'; I apologize for the error. Mark got this error line 9 near "= =" aborted due to compilation error */Mark Taylor <[EMAIL PROTECTED]>/* wrote: >

RE: read a directory

2005-02-28 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Carl Johnson wrote: > Hello group, > > I'm trying to read the directory "C:\GIS\wrapped_data" and write > record. My scripts is erroring with "can't open directory: no such > file or directory. What am I missing? > > $outfile = "$infile.txt"; > my $dir = "C:\GIS\wrapped_data"; With dou

read a directory

2005-02-28 Thread Carl Johnson
Hello group, I'm trying to read the directory "C:\GIS\wrapped_data" and write record. My scripts is erroring with "can't open directory: no such file or directory. What am I missing? $outfile = "$infile.txt"; my $dir = "C:\GIS\wrapped_data"; opendir(DIR,"$dir") or die "Can't open $dir direct