I'm working on some code using HTML::Template, and I've decided it makes more sense (in theory) to use CGI::Minimal rather than CGI, since I'm not really generating HTML code.
But I'm using cookies. And CGI::Cookie appears to make use of the CGI module. So performance-wise, I'm still loading the CGI module (even if I'm only using a few subroutines) when I use CGI::Cookie.
So is it even worthwhile to use CGI::Minimal in this case? I may as well just use CGI.
Or am I missing something about how Perl loads modules? I don't see it as much of a performance gain to parse an entire module for a few subroutines than to load the module.
In reply to Is it worth using CGI::Cookie with CGI::Minimal? by rrwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |