in reply to CGI package recommendation

CGI.pm is still around and you can use that if you like - it will be fine for a low-traffic site. However it does still come with all the old HTML-generation functions (for backwards compatibility) and those are pretty much universally frowned on these days. I still create some sites using CGI (the protocol) but in most cases use one of the less heavy alternatives like CGI::Lite, CGI::Minimal, etc.

If you are expecting it to be a high-volume site then something with a persistent back-end is going to be a better bet and there are a whole heap of options in that space, including using an FCGI wrapper around plain CGI scripts.


🦛

Replies are listed 'Best First'.
Re^2: CGI package recommendation
by LanX (Cardinal) on Jan 24, 2021 at 15:47 UTC
    > However it does still come with all the old HTML-generation functions (for backwards compatibility)

    You are right, I thought the code was out factored to

    CGI::HTML::Functions

    But it seems that's only the documentation.

    Edit

    Major correction 2 min after posting.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery