On Mon, 31 Jul 2000, Matthew Persico wrote:
> The original format stuff HAS to be kept. Don't document it so as not to
> encourage its use. Play up Text::Autoformat::form if you wish, but there
> will be way too much breakage/too little updateage if hundreds of old
> web log scripts have to be ripped out upon installation of Perl6.
>
> Ditto for localtime - I say don't touch localtime at all. Document it as
> an old function that is deprecated in 6.0.0 and will be dropped in
> 6.X.Y. Promote one new object in the core called Date that returns 1 for
> Jan and the full four digit year. Give it strftime capabilities.
>
> Hmm, that's another point - if you change localtime, doesn't strftime
> have to change too? As does the implementation of scalar(localtime()).
I don't think we're advocating its (their) complete demise, just the
transition out of the core. (Which would, of course, still require a
change to the scripts to 'use Format;'. Hmmm, perhaps all of
formatting that is left in the core would be to 'use Format;' when you
see format creation.)
Could localtime() suffer a similar fate? (Is it POSIX?) Perhaps a
Unix::(Tools|Calls|Toys) module?
Of course, this may actually be a little off topic for this list, and
better suited for internals. (ie, it shouldn't matter how Perl
implements it as long as it works, no?)
--
Bryan C. Warnock
([EMAIL PROTECTED])