racke / Template-Flute

Template::Flute - Modern designer-friendly HTML templating Engine
Other
11 stars 12 forks source link

Uninitialized value warning in Specification module #68

Open racke opened 9 years ago

racke commented 9 years ago
Warning caught during route execution: Use of uninitialized value in hash element at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Template/Flute/Specification.pm line 191, <DATA> line 749.
/home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Template/Flute/Specification.pm around line 191
188         unless ($class) {
189             die "Neither class nor name for separator within list $list_name.\n";
190         }
191         $listref->{separator}->{$separator->{name}} = $separator;
192         push @{$self->{classes}->{$class}}, {%{$separator}, type => 'separator', list => $list_name};
193     }
194 
racke commented 9 years ago

This is the specification element that causes the warning:

<separator class="dashboard-item-separator" every="5" />