What's the best way to write a Perl CGI application?

后端 未结 6 1131
轮回少年
轮回少年 2021-02-14 10:10

Every example I\'ve seen of CGI/Perl basically a bunch of print statements containing HTML, and this doesn\'t seem like the best way to write a CGI app. Is there a better way t

6条回答
  •  暖寄归人
    2021-02-14 10:45

    Absolutely (you're probably looking at tutorials from the 90s). You'll want to pick a framework. In Perl-land these are the most popular choices:

    • CGI::Application - very lightweight with lots of community plugins
    • Catalyst - heavier with more bells and whistles
    • Jifty - more magical than the above

提交回复
热议问题