Re: compile time signature checking

2005-03-02 Thread Larry Wall
On Thu, Mar 03, 2005 at 01:03:07AM -0500, Abhijit Mahabal wrote: : I was thinking about how binding of arguments to parameters in a : sub/method call would happen. Seems to be a darn tricky thing with all : sorts of potential pitfalls! : : I have a few questions. Consider the following piece of

compile time signature checking

2005-03-02 Thread Abhijit Mahabal
I was thinking about how binding of arguments to parameters in a sub/method call would happen. Seems to be a darn tricky thing with all sorts of potential pitfalls! I have a few questions. Consider the following piece of code. Are my expectations correct? sub foo($x, $y, *%slurp) { $x + $y } s

Release 0.1.12

2005-03-02 Thread William Coleda
So Dan's string stuff has been rolled into cvs main (along with a huge # of leo addon patches...) What's the current status of the new GC system? Still need testing? I'd recommend postponing any of the architectural/design items that were slated for 0.1.12 to 0.2.0 at the latest, perhaps anot

Test::Harness 2.47_03

2005-03-02 Thread Andy Lester
file: $CPAN/authors/id/P/PE/PETDANCE/Test-Harness-2.47_03.tar.gz size: 65078 bytes md5: f044d3e8d138d03a8edd9803788128e8 Much better now. The "tests run out of order" error is fixed. Dumb mistake on my part. I'm also no longer supporting Perls before 5.005_03. I figure if someone's usi

Re: installation process of parrot

2005-03-02 Thread Olivier Thauvin
Le Wednesday 2 March 2005 17:04, Leopold Toetsch a écrit : > Olivier Thauvin wrote: > > I am looking to make a parrot rpm for mandrake and in same time, cleaning > > and beautify the spec in the parrot cvs, but I am lock because the make > > install and the MANIFEST.* generation doesn't works as it

Re: Rule Parameters

2005-03-02 Thread Larry Wall
On Wed, Mar 02, 2005 at 12:42:08PM -0600, Rod Adams wrote: : Larry Wall wrote: : : >On Tue, Mar 01, 2005 at 11:06:17PM -0600, Rod Adams wrote: : >: Since the line between rules and subs is already blurring significantly, : >: I want to blur it a little more. I want to write rules which can take

Re: Rule Parameters

2005-03-02 Thread Patrick R. Michaud
> : Does get handled as )> or as > : , q)>, in which case it's really qw//? > > The former. It's a single string, which you can parse however you like. > Though I suppose we could extend the colon to a colon modifier: > > > > That's getting a little weird though, considering that in most

[PUGS] Bugs

2005-03-02 Thread Stevan Little
Autrijus & Co. I have managed to track down two different bugs/issues with PUGS. I explain them here in detail with examples, and todo_* tests for them are included in the following test files: t/op/shift.t t/op/pop.t t/op/push.t t/op/unshift.t Note that these issues may not be related t

Re: Rule Parameters

2005-03-02 Thread Larry Wall
On Wed, Mar 02, 2005 at 01:24:59PM -0600, Rod Adams wrote: : Thanks for pointing that out, Patrick. I'm impressed with how you've : assimilated all the S's & A's. (And yes, I love that the guy in charge : of implementing the language has that ability.) Yes, Patrick is a jewel. We'll probably we

Re: parsing ok((2+3)==5)

2005-03-02 Thread Larry Wall
On Tue, Mar 01, 2005 at 07:22:08PM -0500, Abhijit Mahabal wrote: : Hmm. I wonder if that introduces more bugs itself. Is the following legal? : f ($x) It is legal if f has been predeclared, in which case it parses as a list operator, and ($x) is its first argument. That is, f ($x),2 w

Re: Rule Parameters

2005-03-02 Thread Rod Adams
Patrick R. Michaud wrote: On Tue, Mar 01, 2005 at 09:32:28PM -0800, Larry Wall wrote: On Tue, Mar 01, 2005 at 11:06:17PM -0600, Rod Adams wrote: : Since the line between rules and subs is already blurring significantly, : I want to blur it a little more. I want to write rules which can take :

Re: something wrong with argument binding in function calls

2005-03-02 Thread Jonathan Scott Duff
On Wed, Mar 02, 2005 at 12:21:56PM -0500, Abhijit Mahabal wrote: > the file examples/hanoi.p6 should work correctly, but does not. > Something is going wrong in the recursion. [ *poof* ] > > I plan to explore this more later today. Great! I'd checked that example in knowing that there was a prob

Re: Rule Parameters

2005-03-02 Thread Rod Adams
Larry Wall wrote: On Tue, Mar 01, 2005 at 11:06:17PM -0600, Rod Adams wrote: : Since the line between rules and subs is already blurring significantly, : I want to blur it a little more. I want to write rules which can take : parameters. No problem. That's how the arguments to rules like are a

Re: Coverage testing of web application

2005-03-02 Thread Yuval Kogman
On Wed, Mar 02, 2005 at 12:36:43 +0200, Gabor Szabo wrote: > How to check the coverage of the CGI scripts and the modules used by them ? I would make scripts that look like < 0xEBD27418 perl hacker & /\ kung foo master: /me kicks %s on the nose: neeyah! pgp6ZG7PUXjUt.pgp D

Re: something wrong with argument binding in function calls

2005-03-02 Thread Abhijit Mahabal
A simpler buggy version: sub g($x, $y){ say "$x $y"; h($y, $x); } sub h($x, $y){ say "$x $y"; } g(10, 15); = This prints: 10 15 15 15 --abhijit Abhijit Mahabal wrote: the file examples/hanoi.p6 should work correctly, but does not. Something is going w

Re: installation process of parrot

2005-03-02 Thread Will Coleda
Leopold Toetsch writes: Olivier Thauvin wrote: I am looking to make a parrot rpm for mandrake and in same time, cleaning and beautify the spec in the parrot cvs, but I am lock because the make install and the MANIFEST.* generation doesn't works as it should: - path are the same in MANIFEST.* an

something wrong with argument binding in function calls

2005-03-02 Thread Abhijit Mahabal
the file examples/hanoi.p6 should work correctly, but does not. Something is going wrong in the recursion. = [EMAIL PROTECTED] trunk]$ ./pugs examples/hanoi.p6 ndisks = 3 AS AS SS AB SS SB SB = A modified version that also prints out what arguments

Re: installation process of parrot

2005-03-02 Thread Leopold Toetsch
Olivier Thauvin wrote: I am looking to make a parrot rpm for mandrake and in same time, cleaning and beautify the spec in the parrot cvs, but I am lock because the make install and the MANIFEST.* generation doesn't works as it should: - path are the same in MANIFEST.* and the install - library ar

Re: Test-Harness-2.47_02.tar.gz

2005-03-02 Thread Andy Lester
On Tue, Mar 01, 2005 at 11:26:07PM -0600, Andy Lester ([EMAIL PROTECTED]) wrote: > Right now, it's not useful. I've got T:H:Point retrofitted into the > straps, and the tests run. Now, if everyone would please test it out > on their respective platforms, I'd appreciate it. Ew, it's stinky. It

Re: Rule Parameters

2005-03-02 Thread Patrick R. Michaud
On Tue, Mar 01, 2005 at 09:32:28PM -0800, Larry Wall wrote: > On Tue, Mar 01, 2005 at 11:06:17PM -0600, Rod Adams wrote: > : Since the line between rules and subs is already blurring significantly, > : I want to blur it a little more. I want to write rules which can take > : parameters. > > No p

installation process of parrot

2005-03-02 Thread Olivier Thauvin
I am looking to make a parrot rpm for mandrake and in same time, cleaning and beautify the spec in the parrot cvs, but I am lock because the make install and the MANIFEST.* generation doesn't works as it should: - path are the same in MANIFEST.* and the install - library are not installed - path

Coverage testing of web application

2005-03-02 Thread Gabor Szabo
So far I have been using Devel::Cover only in cases where I run code to be analyzed directly. I wonder how should I setup Devel::Cover to test a web application while my test suit is actually using WWW::Mechanize and I am exercising the relevant code via a real web server? How to check the covera

T::M + T::H recent make module test suites fail

2005-03-02 Thread H.Merijn Brand
Yesterday on our mongers meeting Abigail demo'd Lexical::Atributes We all tried (SuSE 9.1, Mac OS X, Debian, RedHat, ...) and many systems did not pass the test. One of the reasons was that the Filter::Simple in 5.8.0 has version 0.78, but it is not the same as the 0.78 in 5.8.1 and on, but that'