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
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:
>
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
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