I'm used to the way of simply inserting tags of code in html, like PHP or ASP or JSP etc...that's what I gravitate towards to naturally. That's how I've learned. I like that concept, even if some folks hate the fact of mixing logic and presentation together. I shamelessly don't find that to be an issue for me, makes it actually easier for me. I like it.

I started with ASP and ColdFusion, I'm happy to report that Mojo allows you to include perl code in templates (containing HTML/JS etc). Guides -> Embedded Perl. You'll find this familiar.

I appreciate what you're saying with the remainder of your response. There's validity in the point you make about reinventing the wheel, from the Mojo homepage:

"Mojolicious is a fresh take on Perl web development, based on years of experience developing the Catalyst framework, and utilizing the latest web standards and technologies. "

If you change your mind, I'd suggest getting started with Mojolicious:::Lite, (Tutorial), you get to keep it simple in terms of the organisation of your code, and get great benefits provided by the framework, and I honestly think the learning curve isn't particularly steep given your past experience. With this in mind the responses to Switching from PHP to Perl/Mason from a few days ago are perhaps more along the lines that you're thinking of now.

Update: derp, you created the previous thread...


In reply to Re^2: plack psgi by marto
in thread plack psgi by erickp

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.