in reply to CGI.pm vs no CGI.pm

I have never really used CGI.pm, unless there was a small snippit that I saw and needed...

CGI.pm embeds a lot of hard-learned wisdom about how to correctly deal with CGIs and forms without exposing yourself to security problems. If you try to roll your own form processing code, you're very liable to commit one of several sins that CGI.pm codes against.

If "unless there was a small snippet" means that you're borrowing the code that you need from CGI.pm, then you're probably in O.K. shape. You're doing "copy and paste" reuse is better than rolling your own, but not as good as using CGI.pm directly. Direct use gives you the advantage of easy update if/when new versions of CGI.pm are released.