in reply to Re^2: Whats better then CGI.pm?
in thread Whats better then CGI.pm?
Using CGI.pm and mod_perl version 2 modules Apache2::Response, Apache2::RequestRec, Apache2::RequestUtil, Apache2::RequestIO, APR::Pool are required in CGI.pm.
In fact, it was APR::Table that was the fat cat in the bunch, but point taken.
I would say CGI.pm is bloated because of the massive amount of redundant coding and the fact that the file size is about 262,144 bytes give or take a few bytes. Perl still has to open and read that file.
Okay, well I have now glanced at it. Looks to me like most of that is actually comments. Too many comments can be as irritating as too few, but in any case, they are irrelevant to the compiler/interpreter. Further:
Again, I think you need to present some concrete examples of what you mean by "redundant" and "bloated". Simply saying "Well I can tell you haven't read the source" is akin to saying "I can't give you any reason, just take my word for it" -- if you cannot demonstrate something in real terms (not vaguaries), how do you expect potential users to take you seriously?
Thanks for raising the issue tho, in the future I may make use of CGI::Minimal instead ;P
|
|---|