![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: javascript inside HTML::Template fileby ColonelPanic (Friar) |
on Nov 16, 2012 at 13:29 UTC ( [id://1004185]=note: print w/replies, xml ) | Need Help?? |
CGI programs are a multi-level, multi-language endeavor. You have three different languages (Perl, HTML, and Javascript) and two different environments (server and browser). An error or setting in just one of these can cause the whole thing to fail. In order to successfully debug a problem like this, you have to divide and conquer. Perform simple tests that verify that just one part of the equation is working correctly. That will let you narrow down where the real problem is. Some examples of tests you might perform:
When's the last time you used duct tape on a duct? --Larry Wall
In Section
Seekers of Perl Wisdom
|
|