Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
|
---|
Replies are listed 'Best First'. | |
---|---|
(Ovid) Re: Stupid Program!
by Ovid (Cardinal) on Nov 30, 2001 at 03:54 UTC | |
Ignoring the HERE doc, try this:
Your biggest problem was this line:
Don't declare variables by putting them in single quotes. This may not fix your problem, but at least the program should run. Cheers, Join the Perlmonks Setiathome Group or just click on the the link and check out our stats. | [reply] [d/l] [select] |
Re: Stupid Program!
by dws (Chancellor) on Nov 30, 2001 at 03:02 UTC | |
You've given us very little to go on (though source does help). What are you expecting to happen? What are you observing happens instead? What have you tried to diagnose the problem? Perhaps perusing the thread How to get the most of your question from the monks might help you post questions that are more liable to get you the help you need.
| [reply] |
Re: Stupid Program!
by dragonchild (Archbishop) on Nov 30, 2001 at 02:22 UTC | |
------ Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement. | [reply] |
Re: Stupid Program!
by CharlesClarkson (Curate) on Dec 01, 2001 at 04:47 UTC | |
There's rarely a good reason for mixing CGI.pm routines with actual HTML. You are also using poorly formed HTML. By making a few assumptions, I was able to get this. It's easier to read and maintain without the HTML. It's also easier to write it this way.
HTH, Charles K. Clarkson And he puzzled three hours, till his puzzler was sore. Then the Grinch thought of something he hadn't before! - Dr. Seuss | [reply] [d/l] |