[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
perl help???
hi,
i have been learning perl for a little while now, and I have recently done
some CGI stuff. I was wondering if you could help me on something.
The web site that I am doing is through tripod.lycos.com (it's free), and
they let the users write CGI scripts. The only problem is that their
server has its own way of executing the scripts.
I need to create a text file ($new_user_name.txt), but it won't let me do
it just through the open(FH, "> $path") command. I am trying to use the
Fcntl.pm module, and I put the "use Fcntl;" code at the top of the page,
but it says this when I try to run the program: "Your script produced this
error: (Maybe you didn't strip carriage returns after a network transfer?)
BEGIN failed--compilation aborted at ./test.pl line 9." I do have the
Fcntl.pm in the right directory, but I don't know much about modules.
(line 9 is the "use Fcntl;" code)
I'm not really sure what's wrong, and I would appreciate if if you could
help or suggest someone who could. I'm also interested in joining the
comp.lang.perl.misc group, but I'm not sure how to do that.
Thanks,
Jon Thomas
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]