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