open a file for input

Why does the following part of my script result in giving me the error message "COULDNT OPEN FILES.HTML":


$FULL_PATH = "D:\\webs\\websites\\\\cgi_html\\";

open (CONTENTS, "< $FULL_PATHfiles.html") || &CgiDie ("Couldn't open files.html");


I use the literal path because the URL path alone does not work at all with anything I use it for. I can open a file for OUTPUT but not an existing file for INPUT. My server admin says because they use a WINDOWS NT server that directly executes a PL file, I do not have to set permissions. I thought perhaps it might be something due to an illegal access attempt. Hope this error looks familiar to someone.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

should these be \\ or / ?

And, more to the point you need:

In this case you need this because it is looking for a variable with the name FULL_PATHfiles.html in your version and you really want the variable and then the literal.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
#a more informative error message like
&CgiDie ("Couldn't open $FULL_PATHfiles.html because $!");
#might have revealed the problem
microboardAuthor Commented:
lorentg, all I can say is THANKS!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.