Re: How to implement both object->method and module::function interfa ce?
[email protected] (Hildo Biersma) Wed, 09 Aug 2000 10:50:10 +0100
| Newsgroups | perl.perl6.stdlib |
|---|---|
| Organization | Morgan Stanley Dean Witter & Co. |
| Message-ID | <[email protected]> |
Graham Barr wrote: > > Ah, I forgot about CGI. So there is at least two. > > So what do most people think > > 1. OK > 2. Choose one > 3. Have both, but in separate modules > > Someone should probably write an RFC if it is to be either 2 or 3 Persoanlly, I think both CGI.pm and File::Spec should be OO modules. Having said that, I would not mind CGI.pm being a procedural front-end to an CGI::Object module - I'd just use the latter. People that know how to use the OO-interface to CGI.pm are more likely to be able to change their 'use CGI' statement than the vast hordes of cut&paste procedural CGI programmers. Hildo