Subject: | Circular Reference in CGI::FormBuilder::Template::TT2 |
Using Template Toolkit (TT2.pm) with Formbuilder results in a circular
reference.
Solution:
if ($tt2var) {
$tt2data->{$tt2var} = $tvar;
==> weaken($tt2data->{$tt2var});
} else {
$tt2data = { %$tt2data, %$tvar };
}