For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > January 2006 > My CGI has suddenly soured.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author My CGI has suddenly soured.
Mary Anderson

2006-01-10, 9:55 pm


Hi,
I have been working my way through Lincoln Stein's examples for a few
days and have had no problems. Suddenly today I had a series of problems:
The code worked fine on the wiley website for the book.

All of these are taken from the Official Guide to Programming with CGI.pm.
I am running Windows XP with Perl v.5.8.7 for win32.
Here is a brief summary of the problems.
1. For the program from chapter 2 labeled htmlize.pl, the HTML output of
the command TR([th(\@col_head),@rows]) was garbled.
2. In the same program when run in the browser window, the command to read
a line from the program hung up IIS.
3. The program time4.pl is supposed to print out the time according to a
format constructed from checkboxes. The format %r %A %B %d %Y should print
out '1:00 Tuesday February 3 1904'. It prints 'Tuesday February 3 1904',
dropping the time.

I double checked everything, and downloaded scripts from Stein's website.
The problems persist.

Any help or similar experiences would be appreciated.

Mary Anderson


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com