On Thu, Jul 03, 2003 at 12:30:47PM -0500, Puneet Kishor wrote:
Peter Ensch wrote:
On Thu, Jul 03, 2003 at 09:37:41AM -0500, Peter Ensch wrote:
I'm using H::T (via CGI::Application) with a mod_perl
script for the first time. The apache error_log is showing this error which I've not seen before in this
context. I'm not doing anything different with my tmpl object than I've done in all my non- mod_perl work.
Has anyone seen this before?
----
Argument "<html>\n <head>\n\n <link rel="stylesheet" type="text/..." isn't numeric (#1)
(W numeric) The indicated string was fed as an argument to an operator
that expected a numeric value instead. If you're fortunate the message
will identify which operator was so unfortunate.
[Thu Jul 3 09:17:08 2003] -e: Argument "<html>\n <head>\n\n <link rel="stylesheet" type="text/..." isn't numeric
----
I've found the problem. I was doing use warnings;
use diagnostics;
I thought that diagnostics gave me extra info about an
existing warning ie. the first part of the error msg.
above; however, when I remove 'use diagnostics' I don't get the error at all, even tho' warnings is still
on.
Why is this? And why didn't this happen under plain CGI?
removing use diags didn't remove the error, it just removed the more verbose explanation about the error.
That's the thing; it DID remove the error - the verbose AND normal version.
oh yes, now I see you did mention that. In that case, it is resolved, no? life is good
;-)
(unless someone wants to solve it for academic purposes).
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
