Re: Define consistent and standard

2000-08-03 Thread Michael Fowler
On Thu, Aug 03, 2000 at 01:59:08PM -0500, Garrett Goebel wrote: > What constitutes consistent API's and standard naming conventions? I'm not sure what constitutes consistence in Perl 5, so it's difficult to plop down an RFC saying "this is consistent, do this". What modules display a kind of con

Re: Define consistent and standard

2000-08-04 Thread Michael Fowler
On Fri, Aug 04, 2000 at 10:37:02AM +0100, Leon Brocard wrote: > Michael Fowler sent the following bits through the ether: > > > Personally, I think FindBin is a bit of a sore thumb. Its name, the > > capitalization of its variable names > > I suppose we could try and

Re: Define consistent and standard

2000-08-04 Thread Michael Fowler
On Fri, Aug 04, 2000 at 02:21:03PM +0200, Gisle Aas wrote: > Michael Fowler <[EMAIL PROTECTED]> writes: > > I'm going to wait until Gisle Aas puts out his RFC, and bat it around at > > that point. > > I don't think I promised to do anything. You must b

Re: How to implement both object->method and module::function interfa ce?

2000-08-08 Thread Michael Fowler
On Tue, Aug 08, 2000 at 02:22:20PM -0500, Garrett Goebel wrote: > What's the conventional wisdom on creating a module that supports both an OO > and non-OO interface? Are there any CORE or CPAN modules to serve as a > textbook, or is the anwser "Don't do that"? > > I've got some code that checks

Re: How to implement both object->method and module::function interfa ce?

2000-08-09 Thread Michael Fowler
On Wed, Aug 09, 2000 at 08:40:32AM +0100, Hildo Biersma wrote: > IMHO, what the CGI module should have done is to (a) force people to use > OO mode or (b) split into a procedural and an OO module, possibly > generated from a common source code. Supporting both at run-time is > bizarre. Internall

Re: How to implement both object->method and module::function interface?

2000-08-15 Thread Michael Fowler
On Tue, Aug 15, 2000 at 12:33:15PM +0100, Tim Bunce wrote: > On Mon, Aug 14, 2000 at 11:30:28AM -0500, Jonathan Scott Duff wrote: > > use Foo;# like CGI.pm, morphs on demand > > > > use Foo;# procedural Foo > > use OOFoo;