in reply to require() on the fly

One of the comments made in CGI Programming with Perl, second edition (O'Reilly), is that CGI.pm has to go through so much work to export its functions that the OO interface is as fast or faster as the function oriented interface. Of course, since I always use the OO interface, I've never put that to the test.

Of course, you mentioned that you don't use mod_perl yet. If you're planning on switching to mod_perl in the future, sticking with the OO interface is probably a Good Thing.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.