$template->param( language => 1 );
$template->param( 'checkmodule' => 1 ); # we start with the assumption that there are no problems and set this to 0 if there are
unless ( $] >= 5.008008 ) { # Bug 4505
unless ( $] >= 5.010000 ) { # Bug 7375
$template->param( problems => 1, perlversion => 1, checkmodule => 0 );
}
<p>I encountered some problems.</p>
<ul>
[% IF ( perlversion ) %]
<li>Your perl version seems to be obsolete.
<li>Your Perl version seems to be obsolete.
Please upgrade to a newer version of Perl (at least Version 5.006001).</li>
Please upgrade to a newer version of Perl (at least Version 5.10).</li>
[% END %]
</ul>
-