Embedding Perl in HTML with Mason is a excellent book for what it does, though I'm not a fan of what it does.

More specifically, I really don't like the embed-one-language-in-another thing, primarily for maintainability reasons. A Mason-based website needs maintainers who understand HTML, Perl and Mason -- even if the first two knowledges are fairly common, and the third is fairly easy to pick up, it's a significant hurdle to ease of maintainability; and if a site can't be maintained easily/effectively by all of the people that admin it then quality will really suffer.

When it comes to more complex issues than simply serving web pages (eg performance and security) a still more rigorous knowledge of Mason will be required, in addition to the Perl-knowledge; resulting in a site that significantly fewer people could maintain well than could maintin a comparable perl-only site.

That aside, this is an excellent book -- in particular Ch 8: Building a Mason Site, Ch 9: Mason and CGI and Ch 11: Recipes make it easy to get to grips with real application of the language, work out how to do what you want to do, and put into play a Mason site quickly and efficiently.

Oh, and the answer to the most important question is -- it's an Arabian baboon


In reply to Re: Free Perl/Mason Book Online by Callum
in thread Free Perl/Mason Book Online by fredopalus

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.