use Text::CSV; use HTML::Entities; sub ConvertData { my $csv = Text::CSV->new ({ binary => 1, auto_diag => 1 }); open my $fh, "<", $Filename or die "Couldn't open location file $Filename: $!"; my @report = ("
| ", encode_entities ($_), " | " for @$row; push @report, "