Hi I am a novice in HTML.

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:

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();
Obviously this is not 100% correct but My hashes could be any size, they dont have fixed info. Suggestions to make this correct?

In reply to Print output as a HTML table and email by jumpingmonkey

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.