values of undef and JavaScript

2006-04-29 Thread Stéphane Payrard
In Perl5, the meaning of the undef value is overloaded. It can mean either the value an uninitialized variable or it may indeed mean a genuine undefined value. Perl5 is biased toward the first meaning: in string context, the value behaves as an empty string; In integer and float context, it respe

S02 - s/environmental variables/environment variables/g please

2006-04-29 Thread Randal L. Schwartz
Please, let us agree to use the traditional name of "environment variables" in the docs, and not re-introduce its bastardized cousin, which hurts my ears. Thanks. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Perl/Unix/security

Re: S02 - s/environmental variables/environment variables/g please

2006-04-29 Thread james
On Sat, Apr 29, 2006 at 07:50:02AM -0700, Randal L. Schwartz wrote: > Please, let us agree to use the traditional name of "environment variables" in > the docs, and not re-introduce its bastardized cousin, which hurts my ears. > Thanks. I think they are different things. An "environment variable"

Re: S02 - s/environmental variables/environment variables/g please

2006-04-29 Thread Randal L. Schwartz
> "james" == james <[EMAIL PROTECTED]> writes: james> I think they are different things. An "environment variable" is james> something in %*ENV. An "environmental variable" is a variable which james> was declared with env $foo, and which can be seen by callers. If they both have "env"-ish

A shorter long dot

2006-04-29 Thread Juerd
> 16:50 < audreyt> Juerd: write to p6l and explain the ".." conflict, The current long dot consists of a dot, then whitespace, and then another dot. The whitespace is mandatory, which makes the construct at least three characters long. Tripling the length of an operator, just to make it alignable,

[svn:perl6-synopsis] r9004 - doc/trunk/design/syn

2006-04-29 Thread autrijus
Author: autrijus Date: Sat Apr 29 08:27:29 2006 New Revision: 9004 Modified: doc/trunk/design/syn/S02.pod Log: * S02: Change the section headings "Atoms" and "Molecules" to the more descriptive "Lexical Conventions" and "Whitespace and Comments". Reported by: Wassercrats Modified: doc/tru

Fw: ([EMAIL PROTECTED]) Re: A shorter long dot

2006-04-29 Thread Juerd
I get a message like this for every message that I send to this list. Trying to contact [EMAIL PROTECTED] did not result in response or change. Any ideas? - Forwarded message from sbc sbc <[EMAIL PROTECTED]> - From: sbc sbc <[EMAIL PROTECTED]> Date: Sat, 29 Apr 2006 08:31:24 -0700 (PDT)

Re: Fw: ([EMAIL PROTECTED]) Re: A shorter long dot

2006-04-29 Thread Nicholas Clark
On Sat, Apr 29, 2006 at 05:59:37PM +0200, Juerd wrote: > I get a message like this for every message that I send to this list. > Trying to contact [EMAIL PROTECTED] did not result in response or change. > > Any ideas? Forward that message (with full headers) to [EMAIL PROTECTED] who will then app

Re: A shorter long dot

2006-04-29 Thread Damian Conway
Juerd wrote: Audrey cleverly suggested that changing the second character would also work, and that has many more glyphs available. So she came up with and propose ".:" as a solution $xyzzy.:foo(); $fooz. :foo(); $foo. :foo(); This would make the enormous semantic difference

Re: A shorter long dot

2006-04-29 Thread Yuval Kogman
On Sun, Apr 30, 2006 at 10:49:45 +1000, Damian Conway wrote: > This would make the enormous semantic difference between: > >foo. :bar() > > and: > >foo :bar() > > depend on a visual difference of about four pixels. :-( You're not counting the space around the dot, which counts

Re: Fw: ([EMAIL PROTECTED]) Re: A shorter long dot

2006-04-29 Thread Yuval Kogman
On Sat, Apr 29, 2006 at 18:12:34 +0100, Nicholas Clark wrote: > On Sat, Apr 29, 2006 at 05:59:37PM +0200, Juerd wrote: > > I get a message like this for every message that I send to this list. > > Trying to contact [EMAIL PROTECTED] did not result in response or change. > > > > Any ideas? > > For

Re: A shorter long dot

2006-04-29 Thread chromatic
On Saturday 29 April 2006 16:58, Yuval Kogman wrote: > On Sun, Apr 30, 2006 at 10:49:45 +1000, Damian Conway wrote: > > This would make the enormous semantic difference between: > > > >foo. :bar() > > > > and: > > > >foo :bar() > > > > depend on a visual difference of about four

Re: A shorter long dot

2006-04-29 Thread Yuval Kogman
On Sat, Apr 29, 2006 at 19:03:28 -0700, chromatic wrote: > Two invisible things look completely different to you? If dots looked like this: then they would be invisible. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpjWtFYwS1YC.pgp Description: PGP si

Re: Is there an "integrated" test suite/module to test all standard modules of Perl itself?

2006-04-29 Thread chromatic
On Saturday 29 April 2006 18:36, Fu, Elva wrote: > Hi all, I am a newbie for Perl. I found there are many test modules on > CPAN. It seems some of these test modules are test frameworks, and you > can add new test cases to test your code. Some of these test modules are > used to test Perl itself s

Is there an "integrated" test suite/module to test all standard modules of Perl itself?

2006-04-29 Thread Fu, Elva
Hi all, I am a newbie for Perl. I found there are many test modules on CPAN. It seems some of these test modules are test frameworks, and you can add new test cases to test your code. Some of these test modules are used to test Perl itself such as Test::Benchmark, Test::AutoLoader etc, (maybe they

Re: A shorter long dot

2006-04-29 Thread Jonathan Lang
Damian Conway wrote: Juerd wrote: > Audrey cleverly suggested that changing the second character would also > work, and that has many more glyphs available. So she came up with > >> and propose ".:" as a solution > $xyzzy.:foo(); > $fooz. :foo(); > $foo. :foo(); This would make the

Re: A shorter long dot

2006-04-29 Thread chromatic
On Saturday 29 April 2006 18:29, Yuval Kogman wrote: > If dots looked like this: > > > > then they would be invisible. Use a laptop with a speck of dust in the wrong place in slightly wrong lighting and the wrong four pixels might as well be invisible. Precious few of @Larry deserve the nicknam

RE: Is there an "integrated" test suite/module to test all standard modules of Perl itself?

2006-04-29 Thread Fu, Elva
Thank you chromatic for your quick help! It seems I didn’t express my question very well:-), please let me clarify it more detail: I download Perl-5.8.6-15.i386.rpm, then install on a new platform. I want to ensure the quality of the whole package work well on the new platform (though it sho

Re: early draft of exceptions PDD

2006-04-29 Thread Bob Rogers
From: Allison Randal <[EMAIL PROTECTED]> Date: Tue, 18 Apr 2006 15:07:56 -0700 . . . HLL exception handlers on the other hand, are likely to be written as independent subroutines, much like the current signal handlers in Perl 5. An exception handler is closer to an event han

Re: A shorter long dot

2006-04-29 Thread Audrey Tang
Damian Conway wrote: > Juerd wrote: >>> and propose ".:" as a solution > >> $xyzzy.:foo(); >> $fooz. :foo(); >> $foo. :foo(); > > This would make the enormous semantic difference between: > >foo. :bar() > > and: > >foo :bar() > > depend on a visual difference of

Re: A shorter long dot

2006-04-29 Thread Austin Hastings
Audrey Tang wrote: >Damian Conway wrote: > > >>Juerd wrote: >> >> and propose ".:" as a solution >>>$xyzzy.:foo(); >>>$fooz. :foo(); >>>$foo. :foo(); >>> >>> >>This would make the enormous semantic difference between: >> >> foo. :bar() >> >>and:

Proposed kwalitee metric: consistent_newlines

2006-04-29 Thread Adam Kennedy
In the gap before Kwalitee shows it's head and we get another CPANTS update, I thought I'd throw a new one into the ring. I've twice now hit problems relating to SIGNATURE files. SPECIFICALLY, I see problems with files that have _mixed_ newline types. That is, part of the file is unix newlines

Re: Proposed kwalitee metric: consistent_newlines

2006-04-29 Thread Jeffrey Thalhammer
> So I'd like to propose the following for inclusion. > > Metric: consistent_newlines > > The distribution is awarded a point IF for ALL text > files within the distribution EACH file contains > EITHER exclusively unix newlines OR exclusively > Win32 newlines. In addition, I'd be happy to cook

Re: A shorter long dot

2006-04-29 Thread Damian Conway
Good (and floating) point. Boom boom! ;-) How about this: $antler.bar; $xyzzy.:bar; $blah. .bar; $foo. .bar; That is, introduce only the non-space-filled .: variant, and retain the space-filled long dot. But do we really need *three* distinct forms of method call, in addition to the (eas

Re: Proposed kwalitee metric: consistent_newlines

2006-04-29 Thread Adam Kennedy
The Perl::Critic thing could be tricky though. One of the very few things PPI does that isn't round-trip safe (actually, the ONLY thing) is localise the newlines for the files it opens. And given that I live on a hybrid Win32/linux setup, PPI is also one of the very few things that is actuall

Re: Proposed kwalitee metric: consistent_newlines

2006-04-29 Thread Ovid
--- Adam Kennedy <[EMAIL PROTECTED]> wrote: > So I'd like to propose the following for inclusion. > > Metric: consistent_newlines > > The distribution is awarded a point IF for ALL text files within the > distribution EACH file contains EITHER exclusively unix newlines OR > exclusively Win32 ne

RE: Is there an "integrated" test suite/module to test all standard modules of Perl itself?

2006-04-29 Thread Fu, Elva
Perl Quality Assurance Projects (http://qa.perl.org/) There are multiple projects in the Perl community related to * improving and testing the quality and portability of Perl modules and Perl itself, and * using Perl's QA tools for general software development. It seems there are really a

[svn:perl6-synopsis] r9029 - doc/trunk/design/syn

2006-04-29 Thread autrijus
Author: autrijus Date: Sat Apr 29 23:39:39 2006 New Revision: 9029 Modified: doc/trunk/design/syn/S06.pod Log: * S06: aufrank++ pointed out the quicksort example was still using the (?$foo) form in Sigs instead of ($foo?). Modified: doc/trunk/design/syn/S06.pod =