Re: JWZ on s/Java/Perl/

2001-01-27 Thread J. David Blackstone
J. David Blackstone wrote: That's one nice thing about Perl; you can foreach over an array of all sorts of different things. In fact, being able to just have an array of all sorts of different things is something Perl still has over Java, C, and the like. It's not that big a deal

Re: renaming local to hold

2000-10-20 Thread J. David Blackstone
Nathan Torkington wrote: I'd rather not revisit this, or any other, RFC until Larry's had a chance to *really* comment and put forward his suggestions. I think pitching renames for "local" is at least as worthwhile as pitching code names. How about "Hold?" It isn't listed in

Perl already allows XML for documentation (was Re: RFC 357 (v1) Perl should use XML for documentation instead of POD)

2000-10-01 Thread J. David Blackstone
I'd be all for the XML documentation idea, either as a replacement for or as a substitute for POD. However, I'd like to note that if you want XML documentation in your Perl code, POD really makes it easy: =for XML (or DocBook, or whatever) Simply require yourself to use only POD sections

Re: RFC 106 (v1) Yet another lexical variable proposal: lexical variables made default

2000-08-17 Thread J. David Blackstone
Perl6 RFC Librarian writes: The chief instance where Perl5 requires dynamic variables is in the case of package globals. I think this is a bad idea (so I'm glad you made it optional). Thanks for the feedback, Nat. I figured the idea would meet with resistance. Really, since the whole

Re: Eliminate dynamic variables entirely?

2000-08-17 Thread J. David Blackstone
[EMAIL PROTECTED] (Nathan Wiger) wrote on 14.08.00 in [EMAIL PROTECTED]: Well, lexical variables don't belong to any package in Perl. They're not in the symbol table, hence why others can't mess with them. That's why a "my $var" is different from a "$pkg::var". The latter gets in the

New level of strictness

2000-08-17 Thread J. David Blackstone
I was just sitting here thinking over all these issues and making various responses (as well as adjustments to my mental model for RFC 106 v2). With the radical proposal of eliminating dynamic variables that RFC 106 includes (as an option! Don't get excited; read the RFC first!), I've

Eliminate dynamic variables entirely?

2000-08-14 Thread J. David Blackstone
Here's a radical thought: In most languages, dynamic scoping of variables offers no advantages over lexical scoping, other than dynamic assignment. Dynamic assignment can be accomplished with the local() operator (soon to be renamed, I hope). The local() operator can be extended to operate

Yet another lexical variable proposal

2000-08-14 Thread J. David Blackstone
=head1 TITLE Yet another lexical variable proposal: lexical variables made default without requiring strict 'vars' =head1 VERSION Maintainer: J. David Blackstone [EMAIL PROTECTED] Date: 14 Aug 2000 Version: 1 Mailing List: perl6-language-strict Number: =head1 ABSTRACT Perl

Re: RFC 99 (v1) Maintain internal time in Modified Julian (not epoch)

2000-08-14 Thread J. David Blackstone
Is Perl currently using different epochs on different platforms? If so, I Yes. MacOS and VMS. (Though VMS' localtime() uses the UNIX definition, just to be portable.) MacOS' epoch zero is 1900 (or was it 1901?), VMS' epoch zero is 17-NOV-1858 00:00:00.00, for some astronomical reason

Re: RFC 99 (v1) Maintain internal time in Modified Julian (not epoch)

2000-08-14 Thread J. David Blackstone
On 14 Aug 2000, Russ Allbery wrote: Day resolution is insufficient for most purposes in all the Perl scripts I've worked on. I practically never need sub-second precision; I almost always need precision better than one day. MJD allows fractional days (otherwise it would of course be

RFC: Rename local() operator

2000-08-04 Thread J. David Blackstone
Since no one else has taken this up, I'll start an initial draft. =head1 TITLE Rename the Clocal operator =head1 VERSION Maintainer: J. David Blackstone [EMAIL PROTECTED] Date: 4 Aug 2000 Version: 1 Mailing List: [EMAIL PROTECTED] Number: not yet assigned =head1 ABSTRACT

RFC: lexical variables made default (revised)

2000-08-03 Thread J. David Blackstone
ople would probably want those on by default, but I consider each piece of strictness to be a separate issue. I can also keep up with only so many discussions and RFCs at once. :) =head1 TITLE Lexical variables made default =head1 VERSION Maintainer: J. David Blackstone [EMAIL PROTECTED] Date: 1 A

Re: Stackable ties

2000-08-03 Thread J. David Blackstone
Peter Scott wrote: I'll say up front that I have no good idea as to how to implement this, hence the lack of RFC, but I think it's worth getting the ball rolling to see if there's enough collective intelligence and inclination to make something happen. OO inheritance is well defined and

Re: RFC 17 (v1) Organization and Rationalization of Perl

2000-08-03 Thread J. David Blackstone
Before jumping in on this, keep in mind that Larry Wall has already stated his intent to just plain _eliminate_ many of these special variables. Most of them suffer from the "action-at-a-distance" problem, meaning you change something somewhere and unexpected changes occur elsewhere. For