I am comparing 2 files using hashes and printing out differences.
When I try to print and mail the output becomes all garbled in outlook.
What approach should I take here? How to I print a nice output table with the data and email it so it is easy on the eyes. I saw a peer use HTML.
I have these modules available: sSubs.pm Element Element.pm Form.pm FormatPS.pm FormatRTF.pm FormatText.pm Formatter.pm Mason Mason.pm Parse.pm Scrubber.pm Tagset.pm Template.pm Tree Tree.pm TreeBuilder.pm CGI.pm, Under CGI I have following. Apache.pm Carp.pm Cookie.pm Fast.pm Pretty.pm Push.pm Switch.pm Util.pm
Again I am a novice in HTML. What direction should I take from here?
Actually I added some code using HTML Template:
Obviously this is not 100% correct but My hashes could be any size, they dont have fixed info. Suggestions to make this correct?my $template = HTML::Template->new( filename => 'temp.tmpl' ); @languages =(); foreach (sort keys %fm) { if ((! $fm{$_}{'cksum'}) && (! $fm{$_}{'byte'})) { @minilanguage=(); @minilanguages = ( { fmfile_name => $_ , fmfileowner => $fm{$_}{'owner'} }, ); push @language, @minilanguages; delete $fm{$_}; } } print "@languages\n"; $template->param( FMPermissionIssue => @languages ); print $template->output();
In reply to Print output as a HTML table and email by jumpingmonkey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |