Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Question for the regulars
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Bart Lateur, post: 4800316"] I agree with PurlGurl on this one: CGI.pm *is* an ugly module: it's huge, making it less fit for what its original intention is, namely for use in CGI scripts. It's bulky, containing lots of stuff most people don't use, like the HTML generating stuff. It's ugly, like in how each function is held in the module as a string, which gets evalled the function is called, and it uses an unreliable way to test whether a sub is called as a method or as a function (I've demonstrated in the past how certain parameter values in a function call can make it fail -- try strings like "CGI"). The proper way for the latter would have been to have separate subs for the methods and for the functions, say, in a separate original package, where the function adds a default parameter to call the method. This module is butt ugly, and should have been abandoned/refactored years ago. Yet people defend it like it's the greatest module ever written. Though it's not the absolute worst, it clearly isn't. And yes, I do know of PurlGurl's reputation. I'm not on her side most of the time. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Question for the regulars
Top