my @values; my $table; foreach my $k (sort {$b <=> $a} keys %input) { foreach (@{$input{$k}}) { chomp(); push( @{@data[$.]},( split /[,\n]/, $_)); } } print "After\n"; print Dumper(\%data); for my $i ( 0 .. $#data ) { $body .= "<tr>"; for ( @{@data[$i]}){ $body .= "<td>$_</td>\r\n"; } $body .= "</tr>"; } $body .= "</table>";
I am getting Global symbol "%values" requires explicit package
In reply to Re^8: getting error while writing to a table
by learner@perl
in thread getting error while writing to a table
by learner@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |