D'oh! Sorry, hit Ctrl-Enter by accident before I was done. Really sorry
about this.

Here's what I meant to post in full:

ever since I've updated to perl 5.8, I'm having a weird problem with
Template::Toolkit and perlapp.

When I run my script as a plain perl script, it works perfectly. However,
when I use perlapp to turn it into an .exe, it crashes. This didn't use to
happen in perl 5.6.

Here's the line I call:

$tt->process("de_menu_menu.tt", $config, "de_menu/menu.html")
        || die $tt->error(), "\n";

$config is a hash containing a few strings and numbers, no database
recordsets.

I put de_menu_menu.tt up at http://fourcoffees.com/de_menu_menu.txt

Here's some detail from the debugger:

[Template::Service] process(de_menu_menu.tt, HASH(0xc6498c))
[Template::Context] template(de_menu_menu.tt)
[Template::Context] looking for block [de_menu_menu.tt]
[Template::Context] asking providers for [de_menu_menu.tt] []
[Template::Provider] _fetch_path(de_menu_menu.tt)
[Template::Provider] searching path:
F:\!Perl!\generatoren\tmpl\de_menu_menu.tt
[Template::Provider] _load(F:\!Perl!\generatoren\tmpl\de_menu_menu.tt,
de_menu_menu.tt)
[Template::Provider] _compile(HASH(0xf38964), <no compfile>)

and then Windows gives an "unknown software exception (0xc00000fd) at
0x2805e0bd" error dialog and the .exe exits.

As mentioned, this does not happen when the script is run with perl instead
of as an .exe.

-- Gunther



_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to