add Excel and CSV download of templated reports and clean up their HTML formatting...
[freeside.git] / htetc / handler.pl
index f115104..f41db36 100644 (file)
@@ -97,11 +97,14 @@ sub handler
       use HTML::Entities;
       use IO::Handle;
       use IO::File;
+      use IO::Scalar;
       use Net::Whois::Raw qw(whois);
       if ( $] < 5.006 ) {
         eval "use Net::Whois::Raw 0.32 qw(whois)";
         die $@ if $@;
       }
+      use Text::CSV_XS;
+      use Spreadsheet::WriteExcel;
       use Business::CreditCard;
       use String::Approx qw(amatch);
       use Chart::LinesPoints;