Subject: | Text::Haml emits many "Use of uninitialized value in string eq " warnings |
In this repository:
https://github.com/xsawyerx/telaviv.pm
on Mageia Linux 3/Cauldron with Text::Haml version
perl-Text-Haml-0.990.106-1.mga3 , running bash bin/create.sh gives me:
t/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in string eq at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 484.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 719.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 728.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 719.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.16.1/Text/Haml.pm line 728.
This in turn runs:
[CODE]
#!/usr/bin/perl
use strict;
use warnings;
use IO::All;
use Text::Haml;
@ARGV == 1 or die "$0 <file.haml>";
my $haml = Text::Haml->new;
my $template = io( $ARGV[0] )->slurp;
my $output = $haml->render($template);
print << "_END";
[% WRAPPER root.tt %]
<div class="post">
<h2 class="title">Previous Events</h2>
<div style="clear: both;"> </div>
$output
</div>
[% END %]
_END
[/CODE]
Regards,
-- Shlomi Fish