On Perl 5.8 (I haven't tried it in 5.10), the following script segfaults:
What Perl bug is this tripping over? How could Template Toolkit be fixed to not trigger the segfault?#! /usr/bin/perl use strict; use warnings; use Template; my $template = Template->new({}); my $text = "[% SET content='" . ("stuff "x20_000) . "' %]"; $template->process(\$text, {}); print "Processed\n";
In reply to Challenge, try to fix the bug by tilly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |