[PATCH] Forking tests with Test::More

2006-03-27 Thread Tassilo von Parseval
Hi, I was told that Test::More patches should now go to this list so here we go. The attached patch serves as a draft for enabling test-scripts that fork without the test-counter getting confused. It does so by using a Storable imaged shared between the processes. The patch however does need some

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

2006-03-27 Thread larry
Author: larry Date: Mon Mar 27 19:28:57 2006 New Revision: 8457 Modified: doc/trunk/design/syn/S12.pod Log: s/undef/undefine/ Modified: doc/trunk/design/syn/S12.pod == --- doc/trunk/design/syn/S12.pod(origina

Re: 'temp $x;' with no assignment

2006-03-27 Thread Larry Wall
On Mon, Mar 27, 2006 at 02:54:05PM -0600, Jonathan Scott Duff wrote: : On Mon, Mar 27, 2006 at 10:46:02PM +0200, Yuval Kogman wrote: : > On Mon, Mar 27, 2006 at 14:35:52 -0600, Jonathan Scott Duff wrote: : > > I think that if C is the new C, then immediately after the : > > C line, $x should hold w

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

2006-03-27 Thread larry
Author: larry Date: Mon Mar 27 15:45:03 2006 New Revision: 8454 Modified: doc/trunk/design/syn/S04.pod Log: Changed temp (and let) to not default to undefine() any more. Modified: doc/trunk/design/syn/S04.pod == ---

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

2006-03-27 Thread larry
Author: larry Date: Mon Mar 27 15:40:15 2006 New Revision: 8453 Modified: doc/trunk/design/syn/S10.pod doc/trunk/design/syn/S12.pod doc/trunk/design/syn/S13.pod Log: Finally checking in the autoloading changes despite uncertainty about AUTODEF. Modified: doc/trunk/design/syn/S10.pod ==

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

2006-03-27 Thread larry
Author: larry Date: Mon Mar 27 14:57:02 2006 New Revision: 8451 Modified: doc/trunk/design/syn/S06.pod Log: Added def of prototypes from audreyt++ (with clarification of scoping). Modified: doc/trunk/design/syn/S06.pod =

Re: 'temp $x;' with no assignment

2006-03-27 Thread Yuval Kogman
On Mon, Mar 27, 2006 at 14:54:05 -0600, Jonathan Scott Duff wrote: > Make me believe your 90/10 numbers. http://cpansearch.bulknews.net/ is broken right now... =( -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpaJiBDVaA0d.pgp Description: PGP signature

Re: 'temp $x;' with no assignment

2006-03-27 Thread Jonathan Scott Duff
On Mon, Mar 27, 2006 at 10:46:02PM +0200, Yuval Kogman wrote: > On Mon, Mar 27, 2006 at 14:35:52 -0600, Jonathan Scott Duff wrote: > > I think that if C is the new C, then immediately after the > > C line, $x should hold whatever flavor of undef is appropriate. > > > > Is there some reason we're h

Re: 'temp $x;' with no assignment

2006-03-27 Thread Yuval Kogman
On Mon, Mar 27, 2006 at 14:35:52 -0600, Jonathan Scott Duff wrote: > On Mon, Mar 27, 2006 at 05:26:48PM +0200, Yuval Kogman wrote: > How did $x become 10?!?!? :-) GHC has this lovely error: "my brain just exploded" I think Perl 6 should have a similar runtime warning about how it's usiong my sh

Re: 'temp $x;' with no assignment

2006-03-27 Thread Jonathan Scott Duff
On Mon, Mar 27, 2006 at 05:26:48PM +0200, Yuval Kogman wrote: > Hi, > > my $x = 5; > { > temp $x; > # is $x 5 or undef? > } > # $x is definately 10 How did $x become 10?!?!? :-) > I think it should be 5 inside, because it makes it easy to writ

Re: libparrot.so.0.4.2

2006-03-27 Thread Andrew Dougherty
On Mon, 27 Mar 2006, Nick Glencross wrote: > Andy, > > I totally agree, and this still works. We would then get a compile line like: > > gcc ... -L.../blib/lib -lparrot -L/usr/local/lib -lgmp -lreadline > > So that libparrot is found in blib/lib, and the other libraries in > /usr/local/lib. >

Announce: Test::TAP::HTMLMatrix 0.05 and Test::TAP::Model 0.06

2006-03-27 Thread Yuval Kogman
These new versions of the modules let you get test run comparison. You can look at the example: http://nothingmuch.woobling.org/Test-TAP-HTMLMatrix/example.pl This example runs a test suite twice, injecting one of the runs with dummy failures. Then the two models are consolidated

Re: libparrot.so.0.4.2

2006-03-27 Thread Nick Glencross
Andy, I totally agree, and this still works. We would then get a compile line like: gcc ... -L.../blib/lib -lparrot -L/usr/local/lib -lgmp -lreadline So that libparrot is found in blib/lib, and the other libraries in /usr/local/lib. What's evil with some builds of perl is that -L/usr/local/lib

'temp $x;' with no assignment

2006-03-27 Thread Yuval Kogman
Hi, my $x = 5; { temp $x; # is $x 5 or undef? } # $x is definately 10 I think it should be 5 inside, because it makes it easy to write things like: my $x = 5; { temp $x++; # $x is 6

Re: libparrot.so.0.4.2

2006-03-27 Thread Andrew Dougherty
On Mon, 27 Mar 2006, Nick Glencross wrote: > On 26/03/06, Sean Sieger <[EMAIL PROTECTED]> wrote: > > On 3/25/06, Nick Glencross <[EMAIL PROTECTED]> wrote: > > > > > Is it possible that a 'make install' has previously been done on this > > > computer, so that there is a libparrot in /usr/local/lib?

Re: UNIX commands: chmod

2006-03-27 Thread Jonathan Lang
Damian Conway wrote: > In other words, this is another example of "Don't use junctions in actions > with side-effects". Why not tag functions with side-effects as such (using a trait to that effect), and then say that short-circuit operators don't short-circuit when side-effects are involved? Or

property hash changes r12043

2006-03-27 Thread Leopold Toetsch
Use Hash instead of PerlHash for properties * Parrot should only use core types * prophash now returns PMCNULL, if there aren't any properties this is necessary, because introspection (dump) would inject a property hash into all dumped PMCs * adjust dumper tests and Dumper.pir leo

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

2006-03-27 Thread larry
Author: larry Date: Mon Mar 27 04:37:45 2006 New Revision: 8438 Modified: doc/trunk/design/syn/S06.pod Log: s/::/!!/ Modified: doc/trunk/design/syn/S06.pod == --- doc/trunk/design/syn/S06.pod(original) +++ do

Re: UNIX commands: chmod

2006-03-27 Thread Damian Conway
Larry wrote: On Sun, Mar 26, 2006 at 02:40:03PM -0800, Larry Wall wrote: : On the original question, I see it more as a junctional issue. : Assuming we have only chmod($,$), this sould autothread: : : unless chmod MODE, all(@files) -> $oops { : ???; : profit(); : } Except

Re: UNIX commands: chmod

2006-03-27 Thread Damian Conway
Jonathan Lang wrote: How important is it that perl 6 maintains the notion that $foo and @foo are entirely different things? Very. Also, there's the matter of "unneccessary paperwork": if the only thing that I use the return value for is a boolean test, then all of the effort involved in l