Re: [perl #37067] [PATCH] intro.pod - minor corrections

2005-09-05 Thread Joshua Hoblitt
On Sun, Sep 04, 2005 at 01:58:16PM -0700, chromatic wrote: > For what it's worth, the Perl 5 policy is not to make UK English > speakers write US English and vice versa. Consistency within a document > is nice, though. A quick survey of ./docs suggests that the UK spelling is fairly consistently

Test::Harness Extension/Replacement with Color Hilighting

2005-09-05 Thread Shlomi Fish
Hi all! Does anyone know of a Test::Harness extension or replacement that can color the final report line in green if all tests passed and in red otherwise? search.cpan.org is no help, and couldn't find anything relevant by a brief scanning of its POD page there (but not a thorough reading of i

Re: Test::Harness Extension/Replacement with Color Hilighting

2005-09-05 Thread Dave Cross
Shlomi Fish wrote: Hi all! Does anyone know of a Test::Harness extension or replacement that can color the final report line in green if all tests passed and in red otherwise? search.cpan.org is no help, and couldn't find anything relevant by a brief scanning of its POD page there (but not a

RE: multi scoping

2005-09-05 Thread Thomas Sandlass
HaloO, Luke wrote: > Isn't the point of lexical scoping so that you don't have to worry > whether somebody else called something the same thing you did? I can > picture this: > >multi combine (Any $x, Any $y) { ZCombinator.new($x, $y) } >multi combine (@x, @y) { ZList.new([ @x, @

Re: Test::Harness Extension/Replacement with Color Hilighting

2005-09-05 Thread Paul Johnson
On Mon, Sep 05, 2005 at 10:58:17AM +0100, Dave Cross wrote: > Shlomi Fish wrote: > >Hi all! > > > >Does anyone know of a Test::Harness extension or replacement that can > >color the final report line in green if all tests passed and in red > >otherwise? search.cpan.org is no help, and couldn't f

Re: Adding more kwalitee tests

2005-09-05 Thread Ivan Tubert-Brohman
Adam Kennedy wrote: Only the libraries (and .pod docs) in your dist should be indexed) things in inc/ and t/ and examples/ etc should NOT be indexed. Thus, there should be a no_index entry in the meta.yml for all of these directories (if they have .pm files in them). Sorry for my ignorance, bu

Proposal: split ternary ?? :: into binary ?? and //

2005-09-05 Thread Thomas Sandlass
HaloO, I'm still contemplating how to get rid of the :: in the ternary and make :: unequivocally available for a type sigil and as a binary infix for symbol lookup. Here's a possible solution: 1) ?? becomes a binary operator that behaves as follows: a) it evaluates its lhs in boolean context

Re: Adding more kwalitee tests

2005-09-05 Thread Thomas Klausner
Hi! On Mon, Sep 05, 2005 at 03:43:02PM +1000, Adam Kennedy wrote: > I know the whole kwalitee thing sort of stalled out at 17 tests, but > what would be involved in adding some more? There's obviously been > enough interest from people trying to boost their You might be aware that I did a talk

How 'bout .ortho, .para? [was "Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)"]

2005-09-05 Thread Michele Dondi
(Sorry for replying _so_ late...) On Tue, 9 Aug 2005, Larry Wall wrote: I kinda like Autrijus's idea that "meta" just means "guts". In classical Greek, "meta" just means "with". The fancy philosophical meaning of "aboutness" isn't there, but is a backformation from terms such as metaphysics.

Re: Adding more kwalitee tests

2005-09-05 Thread Sébastien Aperghis-Tramoni
> Adam Kennedy wrote: > > > has_perl_dependency: > > > > In the META.yml (assuming it exists) there is a dependency on the > > version of perl required to install the dist. Problem is that the version said to be required is often bogus. For example, the distributions created with h2xs since Perl

Re: Adding more kwalitee tests

2005-09-05 Thread Adam Kennedy
Sébastien Aperghis-Tramoni wrote: Adam Kennedy wrote: has_perl_dependency: In the META.yml (assuming it exists) there is a dependency on the version of perl required to install the dist. Problem is that the version said to be required is often bogus. For example, the distributions created

Re: Adding more kwalitee tests

2005-09-05 Thread Adam Kennedy
Well personally I use Module::Install (where no_index is also mostly undocumented too, but exists). It's what all the Cool Kids(tm) use these days. For example here's my Makefile.PL for Class::Autouse. - use inc::Module::Install;

Re: Adding more kwalitee tests

2005-09-05 Thread Adam Kennedy
The first demo of this I'm hoping to do is a use of Perl::MinimumVersion to find cases where a module is listed as working with (for example) Perl 5.005, but the module syntax shows that it needs 5.006. (and thus the version dependency is wrong). I later plan to expand this to include cases w

HLL Namespace Design

2005-09-05 Thread Matt Diephouse
In order to help finish Parrot's HLL namespace support, I've compiled a list of features and information that I believe is necessary to support the target languages. I've done so after doing a survey of these languages. I may have missed something or misunderstood something: please check that this

Re: Adding more kwalitee tests

2005-09-05 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin Klaus, On Monday 05 September 2005 14:51, Thomas Klausner wrote: > Hi! > > On Mon, Sep 05, 2005 at 03:43:02PM +1000, Adam Kennedy wrote: > > I know the whole kwalitee thing sort of stalled out at 17 tests, but > > what would be involved in adding some more?

Re: Adding more kwalitee tests

2005-09-05 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On Monday 05 September 2005 17:53, Adam Kennedy wrote: > Sébastien Aperghis-Tramoni wrote: > >>Adam Kennedy wrote: > >>>has_perl_dependency: > >>> > >>>In the META.yml (assuming it exists) there is a dependency on the > >>>version of perl required to insta

Re: Parrot HEAD failing on MacOS Tiger

2005-09-05 Thread Bernhard Schmalhofer
Alberto Simões schrieb: [...] t/examples/japhNOK 2 # Failed test (t/examples/japh.t at line 49) # got: 'tsuJona rehtraP torkcaHp # r' # expected: 'Just another Parrot Hacker # ' t/examples/japhok 15/15# Looks like you failed 1 test of 15. t/exa

Re: [perl #37067] [PATCH] intro.pod - minor corrections

2005-09-05 Thread Bernhard Schmalhofer
Joshua Hoblitt schrieb: I should have added that this patch does s/behaviour/behavior/g. Which brings up the issue of: which "English" are we using for docs? That would be a question for Chip, or do we have a 'docs' pumkin? I'll hold off on more doc patches until Chip weighs in o

[perl #37082] [BUG] Parrot HEAD failing on MacOS Tiger

2005-09-05 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #37082] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37082 > Test 5 of t/examples/japh.t is failing on MacOS Tiger. This was mailed in to p

Re: no 6;

2005-09-05 Thread Nicholas Clark
On Thu, Sep 01, 2005 at 12:07:59PM -0500, David Nicol wrote: > Does this mean that we have to implement perl4 compatability? > > perl5 -e 'no 5; print "[EMAIL PROTECTED]"' It's not valid perl 4: $ perl4 -e 'no 5; print "[EMAIL PROTECTED]"' syntax error in file /tmp/perl-em47tij at line 1, next

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-05 Thread Juerd
Thomas Sandlass skribis 2005-09-05 14:38 (+0200): >b) if this is true, ?? evaluates its rhs such that it > can't be undef But $foo ?? undef // 1 then is a problem. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-05 Thread Damian Conway
Thomas Sandlass wrote: I'm still contemplating how to get rid of the :: in the ternary > Comments? I believe that the single most important feature of the ternary operator is that it is ternary. That is, unlike an if-else sequence, it's impossible to leave out the "else" in a ternary operat

Re: @array = $scalar

2005-09-05 Thread Damian Conway
Juerd wrote: However, in general, chained operators like comma, junction constructors and infix zip, don't get an op= variant. > There's something nice in $foo = 42; $foo |= .bar for @quux; as an alternative for $foo = any 42, @quux>>.bar; though I had always assumed (e.g. in

our constant pi, my constant pi?

2005-09-05 Thread Ingo Blechschmidt
Hi, quick questions: constant pi = 3; # works # Is &pi package- or lexically-scoped? our constant pi = 3; # legal? my constant pi = 3; # legal? This is consistent with "sub foo", "our sub foo", and "my sub foo", which are all allowed. --Ingo --

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-05 Thread Damian Conway
Patrick suggested: > At OSCON I was also thinking that it'd be really nice to get rid of > the :: in the ternary and it occurred to me that perhaps we could use > something like '?:' as the 'else' token instead: > >(cond) ?? (if_true) ?: (if_false) > > However, I'll freely admit that I hadn'

Re: Adding more kwalitee tests

2005-09-05 Thread Andrew Savige
--- Thomas Klausner wrote: > --- Adam Kennedy wrote: >> has_perl_dependency: >> >> In the META.yml (assuming it exists) there is a dependency on the >> version of perl required to install the dist. >> >> The goal of this is to make life a little easier on installers and CPAN >> testers and a fe

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-05 Thread Ashley Winters
On 9/5/05, Damian Conway <[EMAIL PROTECTED]> wrote: > Patrick suggested: > > > At OSCON I was also thinking that it'd be really nice to get rid of > > the :: in the ternary and it occurred to me that perhaps we could use > > something like '?:' as the 'else' token instead: > > > >(cond) ?

Re: our constant pi, my constant pi?

2005-09-05 Thread Luke Palmer
On 9/5/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: > Hi, > > quick questions: > > constant pi = 3; # works > # Is &pi package- or lexically-scoped? > > our constant pi = 3; # legal? > > my constant pi = 3; # legal? Yep. Bare constant is packa

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-05 Thread Luke Palmer
On 9/5/05, Juerd <[EMAIL PROTECTED]> wrote: > Thomas Sandlass skribis 2005-09-05 14:38 (+0200): > >b) if this is true, ?? evaluates its rhs such that it > > can't be undef > > But > > $foo ?? undef // 1 > > then is a problem. Yeah. Hmm, but I kinda like the look of ?? //, and I d

Why are we adding more kwalitee tests?

2005-09-05 Thread Andy Lester
Why are we worrying about these automated kwalitee tests? What will happen once we find that DBIx::Wango has only passed 7 of these 23 items on the checklist? -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-05 Thread Damian Conway
Luke wrote: > Yeah. Hmm, but I kinda like the look of ?? //, and I don't like the > overloading of :: in that way anymore. So it's possible just to add > a ternary ?? // in addition to, and unrelated to (from the parser's > perspective), the regular //. Bad idea. This useful construct would t

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-05 Thread Luke Palmer
On 9/6/05, Damian Conway <[EMAIL PROTECTED]> wrote: > Luke wrote: > > > Yeah. Hmm, but I kinda like the look of ?? //, and I don't like the > > overloading of :: in that way anymore. So it's possible just to add > > a ternary ?? // in addition to, and unrelated to (from the parser's > > per

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-05 Thread Damian Conway
Luke wrote: Not that being explicit is always a bad thing: $val = some_cond() ?? ($arg1 // $arg1_default) // ($arg2 // $arg2_default) No. What's a bad thing is creating new linguistic traps for when people inevitably forget to be explicit. And I question y