G
Geoff Cox
Hello,
I am using File::Find and wish to use the following but ger error
"cannot open assets/i-<filename.htm> : No such file or directory at
index.pl line 67".
open OUT, ">>assets/i-$name" or die "cannot open assets/$name : $!" ;
the structure is similar to
folder1
folder2/assets
folder3
and I am guessing that the error comes because the assets directory
is not always found ? If I use simply i-$name, then the code works.
How do I correct this?
Thanks
Geoff
I am using File::Find and wish to use the following but ger error
"cannot open assets/i-<filename.htm> : No such file or directory at
index.pl line 67".
open OUT, ">>assets/i-$name" or die "cannot open assets/$name : $!" ;
the structure is similar to
folder1
folder2/assets
folder3
and I am guessing that the error comes because the assets directory
is not always found ? If I use simply i-$name, then the code works.
How do I correct this?
Thanks
Geoff