[Templates] Strange Bug using TT
[prev]
[thread]
[next]
[Date index for 2004/10/01]
Hi!
I've got a rather hard to reproduce error on our production server only.
After some time, caused by some still unknown cause, TT dies with the
following error message:
undef error - Can't use string ("sub {\n my $context = shift ||") as a
subroutine ref while "strict refs" in use at
/usr/local/lib/perl/5.8.3/Template/Document.pm line 144.
Somehow this error mangles the whole Apache Child Process (I'm using
mod_perl) so that this child from now on allways generates this error.
I'm using Template::Toolkit 2.13 with perl 5.8.3.
I know that my description is kind of vague, but I just wanted to check if
this problem is known by someone before spending hours debugging a mod_perl
app on a live server ...
Thanks for any pointers etc
--
#!/usr/bin/perl http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] Strange Bug using TT
Thomas Klausner 13:01 on 01 Oct 2004
|