Re: RFC 48 (v1) Replace localtime() and gmtime() with da

2000-08-07 Thread Philip Newton

On Mon, 7 Aug 2000, Tim Jenness wrote:

> Is localtime() used often enough to justify being part of
> the language?

You're kidding, right?

We wouldn't have had all those script kiddies complaining about year 19100
bugs and month-being-off-by-one errors if localtime() wasn't being used
all of the time, whether in CGI code or not.

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>




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

2000-08-09 Thread Philip Newton

On Wed, 9 Aug 2000, Hildo Biersma wrote:

> Persoanlly, I think both CGI.pm and File::Spec should be OO modules.

And I think CGI.pm should be procedural module :-). (I have no experience
with File::Spec, so can't comment on it.) I think OO is sometimes
overdone. I don't always want to have to instantiate an object just to
call a method when it's not obvious why this method couldn't just be a
normal subroutine.

> 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.

And I would use the former. And ISTR a rumour that said that Lincoln Stein
prefers or recommends the procedural method, even though the docs use OO
examples.

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>