Module file writing problem
- From: webmaster@xxxxxxxxxxxxxxxxxxx
- Date: 30 Apr 2005 05:00:51 -0700
Hi,
I've writting a module to store the functions I use through my website.
One of the functions needs to access a text file,
cgi-bin/user/file.dat. The function only works when the script using it
is in cgi-bin/user/. At first the line looked like "open (FILE,
'file.dat');" but then I changed it to "open (FILE,
'/user/file.dat');". It still works fine when the script is in
cgi-bin/user/, but not when it's anywhere else. What am I doing wrong?
.
- Follow-Ups:
- Re: Module file writing problem
- From: Joe Smith
- Re: Module file writing problem
- From: Brian McCauley
- Re: Module file writing problem
- Prev by Date: Re: perl versions and other stuff
- Next by Date: Re: multiples ifs
- Previous by thread: FAQ 2.6 What modules and extensions are available for Perl? What is CPAN? What does CPAN/src/... mean?
- Next by thread: Re: Module file writing problem
- Index(es):
Relevant Pages
|
|