in reply to Is it ok to mix functional and oo programming in one package?

No. Next question.

Seriously, CGI.pm is a terrible example of interface design. The OO interface is constantly breaking because of the need to support the non-OO one, which relies on lots of globals and requires crazy stunts in long-running environments like mod_perl and FastCGI.

Here are some reasons to avoid mxing:

  • Comment on Re: Is it ok to mix functional and oo programming in one package?