http://qs321.pair.com?node_id=539351

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Now this may appear to be a weird question, but back when I started learning Perl in 2000 I found myself using it primarily for CGI scripts.

At first, I did use OOP CGI until I quickly realized it was a major pain in the ( | ). But I always

use CGI qw/:standard/; print header, start_html();
And it just hit me: is there a reason WHY I am doing this? I process forms all the time just by calling params and url_params, which I doubt come from CGI (or do they?). If not, can you see any specific reason to use CGI.pm instead of typing out the headers manually?

Sure, it may save a few lines of code for the header, but if it's not necessary it would be nice to get rid of the dead weight.

Let me know what your thoughts are and whether or not there's actually a reason to use CGI.pm if you're not using it with objects.