From: Robert Bohne Date: Thu, 17 Jun 2010 21:41:28 +0000 (+0200) Subject: Remove warning X-Git-Tag: v0.31_1~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b8b6f4b801b612245cea8e2cdbc9bfa9a72dda0;p=p5sagit%2FExcel-Template.git Remove warning t/011_conditional.t ........... 1/5 Use of uninitialized value in uc at lib/Excel/Template/Container/Conditional.pm line 64. --- diff --git a/lib/Excel/Template/Container/Conditional.pm b/lib/Excel/Template/Container/Conditional.pm index 0717e6c..6b492d3 100644 --- a/lib/Excel/Template/Container/Conditional.pm +++ b/lib/Excel/Template/Container/Conditional.pm @@ -61,7 +61,7 @@ sub _conditional_passes my $istrue = $val && 1; - my $is = uc $context->get($self, 'IS') || 'TRUE'; + my $is = uc($context->get($self, 'IS') || 'TRUE'); if ($is eq 'TRUE') { return 0 unless $istrue;