"Fair points up to a point marto. But, regardless of the framework used, there is no intrinsic reason why form input cannot be post-formatted instead of users having to wrap comments in HTML markup."

It's non trivial, likely more involved than you expect, at no point did I say it cannot be done.

"I know little about web frameworks but your comments validate, in my mind at least, my approach to writing web sites which is to do it myself rather than relying on other people's libraries. After all, for the most part, the web is only made up of text organised with a bit of markup here and there :)"

Frameworks like Mojolicious, and previously CGI.pm have many benefits over rolling your own. Many hands/sets of eyes It's unlikely that rolling your own will have all of the features of Mojolicious or be as efficient. And reinventing wheels all the time is fine, if you want to spend time inventing wheels rather than building wagons. See also CGI::Alternatives The modern web is not just text with markup any more.


In reply to Re^5: Emailing Passwords? In 2020? by marto
in thread Emailing Passwords? In 2020? by punklrokk

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.