Hi, let's see, is it time for a "best coding practices" document?
I know that one of the virtues of perl is the complete chaos which it
thrives on. However, Sebastian's point is well taken. I know everyone has
more important things to do, but maybe we can think about a set of "coding
standards"; and such a standard out to extend to the entire perl source
tree. That might help to avoid tromping on such user favorites as symbols or
logicals like "test", "temp", etc., etc. Just a thought, and it might take a
lot onger than 5.6.1...
[EMAIL PROTECTED]
-----Original Message-----
From: Dan Sugalski [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 06, 2000 8:03 AM
To: BAZLEY, Sebastian; [EMAIL PROTECTED]
Subject: Re: Choice of local symbol names
At 12:25 PM 3/6/00 +0000, BAZLEY, Sebastian wrote:
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: 03 March 2000 19:16
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: Hurrah
> >
> >
>
>[snips]
>
> > Here was the tweak I just made tp vmsperl_pre56_3:
> >
> > --- vms/subconfigure.com;1 Fri Mar 3 02:25:42 2000
> > +++ vms/subconfigure.com Fri Mar 3 10:43:14 2000
>
>[snip]
>
> > $ type = "''perl_i64type'"
>
>I'm a little concerned by the use of the symbol TYPE, which obscures the
DCL
>command of the same name, possibly causing problems later. [I am going by
>the quoted snippet only, so I may have missed something.]
>
>Might I suggest that all local symbols contain at least one underscore,
>which is unlikely to occur in an existing DCL command or symbol?
I was shooting for all the symbols that ultimately got written out to
config.h to have a perl_ prefix. configure.com and subconfigure.com are
reasonably cavalier with names otherwise, though they should all be using
local symbols only so as not to leave gook around when they finish.
I'll go look around and see about cleaning things up for 5.6.1.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk