Re: [perl #34959] config/auto/gmp/gmp.in returns "1" instead of "0"

2005-04-14 Thread Leopold Toetsch
Lambeck <[EMAIL PROTECTED]> wrote: > Hi all, > Configure.pl failed to find the GNU Math Lib (GMP) on my system eventhough it > is installed properly (version 4.1.4) . > I compiled config/auto/gmp/gmp.in by hand and it returned: > 4950 1 but expected was: > 4950 0 > Everything see

Re: [perl #34963] [PATCH] r7825: suppress stderr output during 'bc' step in configure

2005-04-14 Thread Bernhard Schmalhofer
I was thinking along similar lines, but got stuck wondering: "Why is Configure.pl looking for bc in the first place? It doesn't do anything with the result." That's true. I am working on 'Parrot bc', based on ANTLR and Python. For the tests I want to doublecheck whether there are any discrepan

[pugs] regexp ignore case

2005-04-14 Thread BÁRTHÁZI András
Hi, Can you help me, how ignore case is working on Perl 5 regexps? my $test = 'test'; $test ~~ s:perl5:i/E/OA/; It gives me an error (replacing :i with :g, or just removing :i it works well). Bye, Andras

Re: Test automation with perl.

2005-04-14 Thread suresh babu
Hi Experts, I would like to reiterate my request. For our students i need these projects. Basically i want some open source projects and their test suits(developed using perl). We would like to use these projects as case studies to demonstrate test automation. Thanks, Suresh. suresh babu <[

[perl #34974] .svn/entries missing in snapshot

2005-04-14 Thread François
# New Ticket Created by FranÃois PERRAD # Please include the string: [perl #34974] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34974 > I try to build parrot from http://svn.perl.org/snapshots/parrot/ $make src/revisio

Re: pugs CGI.pm

2005-04-14 Thread Roie Marianer
On Wednesday 13 April 2005 9:23 pm, Ingo Blechschmidt wrote: > Ok, then it seems we need to have a builtin, such that: > new_builtin(0xE2) ~ new_builtin(0x82) ~ new_builtin(0xAC) eq > "\xE2\x82\xAC" Doesn't it make more sense for a decode_utf8 function such that decode_utf8(0xE2, 0x82, 0xAC) e

Re: Help compile parrot on arm-linux

2005-04-14 Thread Leopold Toetsch
=?gb2312?q?=C3=F7=20=D6=EC?= <[EMAIL PROTECTED]> wrote: > Hello! > I'm new to parrot, sorry for my pool english first. > > I downloaded parrot-0.1.2 to my debian-arm box --- > its cpu(arm920t) is s3c2410 of Samsung. > first , I run "perl Configure.pl --cc=gcc --cxx=g++ > --link=gcc" to confi

Re: I wish to understand the JIT machine code generator

2005-04-14 Thread Leopold Toetsch
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thank you. The POD is a little thick, and I'll be printing it out so I can > follow along. I'm going to copy the i386 path to an a64 path and have at it. > I'm hoping it won't be much of a stretch to get 64-bit code generated -- > although REASONABL

Re: [pugs] regexp ignore case

2005-04-14 Thread Markus Laire
BÁRTHÁZI András wrote: Hi, Can you help me, how ignore case is working on Perl 5 regexps? my $test = 'test'; $test ~~ s:perl5:i/E/OA/; It gives me an error (replacing :i with :g, or just removing :i it works well). Until :i is implemented, you can use my $test = 'test'; $test ~~ s:perl

Test::Expect

2005-04-14 Thread Leon Brocard
Oh, I forgot to mention to perl-qa that I wrote Test::Expect: http://search.cpan.org/dist/Test-Expect/ It does "Automated driving and testing of terminal-based programs". Simple example here: http://search.cpan.org/src/LBROCARD/Devel-ebug-0.38/t/ebug.t It's a simple wrapper, but I like it.

Re: [perl #34974] .svn/entries missing in snapshot

2005-04-14 Thread Nicholas Clark
On Wed, Apr 13, 2005 at 11:59:47PM -0700, François PERRAD wrote: > # New Ticket Created by François PERRAD > # Please include the string: [perl #34974] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/rt3/Ticket/Display.html?id=34974 > > > > > I

Re: [perl #34974] .svn/entries missing in snapshot

2005-04-14 Thread Jens Rieks
On Thursday 14 April 2005 08:59, FranÃÂois PERRAD wrote: > $make src/revision.c > make: *** No rule to make target `.svn/entries', needed by > `src/revision.c'. ÂStop. Thanks for reporting, should be fixed now (revision 7829). > FranÃois Perrad jens

[perl #34978] lib/Parrot/Test.pm should not use "&&" in commands

2005-04-14 Thread via RT
# New Ticket Created by Jens Rieks # Please include the string: [perl #34978] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34978 > lib/Parrot/Test.pm has several lines like $cmd = qq{(cd $path_to_parrot && $parrot $args

Re: I wish to understand the JIT machine code generator

2005-04-14 Thread Aaron Sherman
On Thu, 2005-04-14 at 01:50 -0400, [EMAIL PROTECTED] wrote: > > [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > >> I have been trying to examine the i386 code generator to see how > >> feasible it would be to create an AMD64 code generator. [...] > I'm going to copy the i386 path to an a64 path

various patches

2005-04-14 Thread Leopold Toetsch
I'm currently evolving the infix operations and scalar classes and have rather big diffs against svn HEAD. I'd appreciate if some folks with commit privs have a look at patches accumulating on the list and apply the simple ones. Thanks, leo

Re: various patches

2005-04-14 Thread Jens Rieks
On Thursday 14 April 2005 13:54, Leopold Toetsch wrote: > I'm currently evolving the infix operations and scalar classes and have > rather big diffs against svn HEAD. > > I'd appreciate if some folks with commit privs have a look at patches > accumulating on the list and apply the simple ones. Okay

Re: [perl #34970] [PATCH] fixed getattribute to throw real "Attribute not found" exception

2005-04-14 Thread Jens Rieks
> # New Ticket Created by Cory Spencer > # Please include the string: [perl #34970] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/rt3/Ticket/Display.html?id=34970 > > > > > The getattribute opcode previously threw an internal exception when an > at

Re: A sketch of the security model

2005-04-14 Thread Dan Sugalski
At 10:03 PM -0400 4/13/05, Michael Walter wrote: Dan, On 4/13/05, Dan Sugalski <[EMAIL PROTECTED]> wrote: All security is done on a per-interpreter basis. (really on a per-thread basis, but since we're one-thread per interpreter it's essentially the same thing) Just to get me back on track: Does

Re: [perl #34963] [PATCH] r7825: suppress stderr output during 'bc' step in configure

2005-04-14 Thread Jens Rieks
On Wednesday 13 April 2005 18:53, jerry gay wrote: > # New Ticket Created by jerry gay > # Please include the string: [perl #34963] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/rt3/Ticket/Display.html?id=34963 > 2>&1 is not the best way, it only w

Re: [perl #34964] [PATCH] Fix some segfaults due to scalar.pmc/string.pmc

2005-04-14 Thread Jens Rieks
On Wednesday 13 April 2005 20:00, Nick Glencross wrote: > # New Ticket Created by Nick Glencross > # Please include the string: [perl #34964] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/rt3/Ticket/Display.html?id=34964 > > > > This patch fixes a

Re: More registers

2005-04-14 Thread Dan Sugalski
At 2:05 PM -0400 4/13/05, Dan Sugalski wrote: At 12:05 PM +0200 4/13/05, Leopold Toetsch wrote: As of rev 7824 Parrot *should* run with NUM_REGISTERS defined as 64 too. Only some stack tests are failing that do half frame push and pop tests. imcc/t/reg/spill_2 just spills 4 registers instead of

Re: More registers

2005-04-14 Thread Jens Rieks
On Thursday 14 April 2005 15:33, Dan Sugalski wrote: > (If the CVS repository's not up to date I > can see about getting subversion installed and working) Yes, the CVS repository is not updated anymore. jens

Re: [pugs] regexp ignore case

2005-04-14 Thread Autrijus Tang
On Thu, Apr 14, 2005 at 01:07:32PM +0300, Markus Laire wrote: > Until :i is implemented, you can use `:i` is now implemented in r1963: * :p5 allows as well as :perl5 for regex. * allow arbitary adverb orders. * :i / :ignorecase implemented. * /x and /s semantics are enabled for p5 regex by defaul

Re: More registers

2005-04-14 Thread Dan Sugalski
At 3:53 PM +0200 4/14/05, Jens Rieks wrote: On Thursday 14 April 2005 15:33, Dan Sugalski wrote: (If the CVS repository's not up to date I can see about getting subversion installed and working) Yes, the CVS repository is not updated anymore. Swell -- I thought when we were switching over to subv

Re: A sketch of the security model

2005-04-14 Thread Aaron Sherman
On Thu, 2005-04-14 at 09:11, Dan Sugalski wrote: > At 10:03 PM -0400 4/13/05, Michael Walter wrote: > >On 4/13/05, Dan Sugalski <[EMAIL PROTECTED]> wrote: > >> All security is done on a per-interpreter basis. (really on a > >> per-thread basis, but since we're one-thread per interpreter it's > >

Re: A sketch of the security model

2005-04-14 Thread Dan Sugalski
At 10:44 AM -0400 4/14/05, Aaron Sherman wrote: On Thu, 2005-04-14 at 09:11, Dan Sugalski wrote: At 10:03 PM -0400 4/13/05, Michael Walter wrote: >On 4/13/05, Dan Sugalski <[EMAIL PROTECTED]> wrote: >> All security is done on a per-interpreter basis. (really on a >> per-thread basis, but sin

Re: More registers

2005-04-14 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 3:53 PM +0200 4/14/05, Jens Rieks wrote: >>Yes, the CVS repository is not updated anymore. > Swell You need just this part: > Date: Wed Apr 13 03:04:41 2005 > New Revision: 7824 > Modified: >trunk/imcc/reg_alloc.c > Log: > allow NUM_REGISTERS = 6

Re: [pugs] regexp ignore case

2005-04-14 Thread Paul Seamons
I would think that :p5 should behave as perl5 does by default. That would mean that /x and /s aren't on by default (for p5). As this is my first post about pugs - all I can say is "wow." It is great to already be coding perl6. Thanks Autrijus and crew. Paul On Thursday 14 April 2005 07:36 a

Re: Whither "use English"?

2005-04-14 Thread Larry Wall
On Thu, Apr 14, 2005 at 01:25:15PM +1200, Sam Vilain wrote: (B: Juerd wrote: (B: >>According to Wikipedia there are around 400 million native English (B: >>speakers and 600 million people who have English as a second language. (B: >>Should the remaining ~5.5 billion humans be exluded from wri

Re: A sketch of the security model

2005-04-14 Thread Dave Whipp
Dan Sugalski wrote: All security is done on a per-interpreter basis. (really on a per-thread basis, but since we're one-thread per interpreter it's essentially the same thing) ... * Number of open files * IO operations/sec * IO operations total ... Can an "application" get more resources

Re: [pugs] regexp ignore case

2005-04-14 Thread Larry Wall
On Thu, Apr 14, 2005 at 08:58:47AM -0600, Paul Seamons wrote: : I would think that :p5 should behave as perl5 does by default. That would : mean that /x and /s aren't on by default (for p5). I'm inclined to agree. Just as a heads up, I'm thinking of changing :perl5/:p5 to :Perl5/:P5 just to dif

Re: A sketch of the security model

2005-04-14 Thread Dan Sugalski
At 5:51 PM -0400 4/13/05, Aaron Sherman wrote: On Wed, 2005-04-13 at 17:01, Dan Sugalski wrote: So here's what I was thinking of for Parrot's security and quota model. (Note that none of this is actually *implemented* yet...) [...] It's actually pretty straightforward, the hard part being the wh

Re: [pugs] regexp ignore case

2005-04-14 Thread Autrijus Tang
On Thu, Apr 14, 2005 at 09:51:27AM -0700, Larry Wall wrote: > On Thu, Apr 14, 2005 at 08:58:47AM -0600, Paul Seamons wrote: > : I would think that :p5 should behave as perl5 does by default. That would > : mean that /x and /s aren't on by default (for p5). > > I'm inclined to agree. Okay. In t

Re: Hyper operator corner case?

2005-04-14 Thread John Williams
I found where Damain explains the rule as basically "replicate dimensions, extend lengths", using an "identity value" when extending the length. On Wed, 13 Apr 2005, Thomas Sandlaß wrote: > Brent 'Dax' Royal-Gordon wrote: > > IIR

Re: subscripts are.... objects?

2005-04-14 Thread Larry Wall
On Tue, Apr 12, 2005 at 06:58:29PM +0300, Yuval Kogman wrote: : : We blitzed a discussion on #perl 3 minutes ago, reaching the : conclusion that negated subscripts are cool. : : So i was thinking: : : subscripts are objects. I'm all in favor of powerful constructs, but we need to be *really* ca

Re: A sketch of the security model

2005-04-14 Thread Dan Sugalski
At 9:51 AM -0700 4/14/05, Dave Whipp wrote: Dan Sugalski wrote: All security is done on a per-interpreter basis. (really on a per-thread basis, but since we're one-thread per interpreter it's essentially the same thing) ... * Number of open files * IO operations/sec * IO operations total

Re: subscripts are.... objects?

2005-04-14 Thread Juerd
Larry Wall skribis 2005-04-14 10:11 (-0700): > Interestingly, if .{} defaulted to smart matching, ordinary .{'foo'} > would essentially fall out of the samantics of "find me all the keys > that smartmatch "foo", which is only one of them, presuming a hash > that guarantees uniqueness. One could vi

Re: various patches

2005-04-14 Thread chromatic
On Thu, 2005-04-14 at 13:54 +0200, Leopold Toetsch wrote: > I'd appreciate if some folks with commit privs have a look at patches > accumulating on the list and apply the simple ones. What qualifies as "simple"? I don't mind handling doc patches and the like. -- c

Re: Hyper operator corner case?

2005-04-14 Thread Larry Wall
On Thu, Apr 14, 2005 at 11:08:21AM -0600, John Williams wrote: : Good point. Another one is: how does the meta_operator determine the : "identity value" for user-defined operators? : : (1,2,3,4,5) >>my_infix_op<< (3,2,4) : : Maybe we should say that the excess length is simply copied unchang

Re: subscripts are.... objects?

2005-04-14 Thread Larry Wall
On Thu, Apr 14, 2005 at 07:29:43PM +0200, Juerd wrote: : So, what's the important downside of all this? The fact that smartmatching a list doesn't slice, but is defined to be array equality with smartmatch of each element in order: if @array ~~ (1,2,3,"many") { say "array can count" } Larry

currying in perl6

2005-04-14 Thread Matthew D Swank
I apologize if this has already been addressed, but given the following definition: sub make-adder ($a){ sub ($b) { $a + b$; } } make-adder 5 returns a closure, however pugs won't parse: make-adder 5 6 or: (make-adder 5) 6 I have to resort to: (make-adder 5)(6) Is this corr

Re: currying in perl6

2005-04-14 Thread Autrijus Tang
On Thu, Apr 14, 2005 at 12:51:08PM -0500, Matthew D Swank wrote: > returns a closure, however pugs won't parse: > > make-adder 5 6 > > or: > > (make-adder 5) 6 > > I have to resort to: > > (make-adder 5)(6) > > Is this correct behavior? I think it's the correct behaviour, yes. We are not cu

Re: [pugs] regexp ignore case

2005-04-14 Thread Larry Wall
On Fri, Apr 15, 2005 at 01:25:24AM +0800, Autrijus Tang wrote: : Okay. In that case, how about making Perl5ish adverbs work when :P5 is : specified? I have just checked in some code to make this work: : : rx:P5:i:m:s:x:g/.../ : : Does it make sense to you? That means that we either have to

Re: [pugs] regexp ignore case

2005-04-14 Thread Autrijus Tang
On Thu, Apr 14, 2005 at 11:03:56AM -0700, Larry Wall wrote: > That means that we either have to have an order dependency or be > very careful not to allow any P6 shortcuts that happen to use the > deprecated Perl 5 modifiers. Perhaps it would be better to have an > option argument to P5 instead: >

[perl #34985] [PATCH] [MSWin32] Link Dynclass Hack

2005-04-14 Thread via RT
# New Ticket Created by Ron Blaschke # Please include the string: [perl #34985] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34985 > Attached hack adds ICU to the linkage of the dynclasses for MSWin32. Otherwise the dync

Re: various patches

2005-04-14 Thread Leopold Toetsch
Chromatic <[EMAIL PROTECTED]> wrote: > On Thu, 2005-04-14 at 13:54 +0200, Leopold Toetsch wrote: >> I'd appreciate if some folks with commit privs have a look at patches >> accumulating on the list and apply the simple ones. > What qualifies as "simple"? I don't mind handling doc patches and the

Re: [perl #34985] [PATCH] [MSWin32] Link Dynclass Hack

2005-04-14 Thread Jens Rieks
> Attached hack adds ICU to the linkage of the dynclasses for MSWin32. > Otherwise the dynclasses won't link, the usual C C > cycle broken. > > This will suffice for now, as things are not linked properly anyway. Thanks, applied. > Ron jens

[perl #34986] [PATCH] [MSWin32] README.win32 Update

2005-04-14 Thread via RT
# New Ticket Created by Ron Blaschke # Please include the string: [perl #34986] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34986 > Attached patch updates the README.win32 document to the current state of ICU. Once [pe

Re: [perl #34986] [PATCH] [MSWin32] README.win32 Update

2005-04-14 Thread chromatic
On Thu, 2005-04-14 at 12:01 -0700, Ron Blaschke wrote: > Attached patch updates the README.win32 document to the current state > of ICU. Once [perl #34985] is applied, one will be able to build > parrot again with ICU, following the instructions. Thanks, applied. -- c

Re: Win32 with ICU files build problem

2005-04-14 Thread Ron Blaschke
jerry gay wrote: > On Apr 12, 2005 12:06 PM, Solinski, Mark <[EMAIL PROTECTED]> wrote: >> > Has anyone successfully built Parrot on Win32 (MSVC 13.10.3077) >> > recently? > parrot builds fine on win32--vc-7.1-perl-5.8.6 for me, without icu. i have > been building this way for some time now. > co

Re: various patches

2005-04-14 Thread Ron Blaschke
Leopold Toetsch wrote: > I can't test Win32 patches, so I can apply these only as is. I am trying to cover this base with constant "update, build, post-to-list, patch" cycles. ;-) Ron

Re: Test::Expect

2005-04-14 Thread Adrian Howard
On 14 Apr 2005, at 11:36, Leon Brocard wrote: Oh, I forgot to mention to perl-qa that I wrote Test::Expect: http://search.cpan.org/dist/Test-Expect/ It's nice. Already used it :-) Adrian

Re: Test automation with perl.

2005-04-14 Thread Adrian Howard
On 14 Apr 2005, at 08:43, suresh babu wrote: Hi Experts, I would like to reiterate my request. [snip] Did you not read the replies? http://www.nntp.perl.org/group/perl.qa/4079 http://www.nntp.perl.org/group/perl.qa/4081 Adrian

Parrot/PUGS Hack-a-thon at the Austrian Perl Workshop

2005-04-14 Thread Thomas Klausner
Hi! There will be a Parrot/PUGS Hack-a-thon at the Austrian Perl Workshop, which takes place on 9th and 10th June in Vienna, Austria. Autrijus Tang, Chip Salzenberg and Leo Toetsch will be there. You should be there too :-) More information on the workshop etc is available here: http://conferen

YAPC::NA - call for (testing-related) papers

2005-04-14 Thread Michael Graham
As you all know, YAPC::NA is coming up (June 27-29, 2005 in Toronto), and the call-for-papers deadline is next week (Apr 18). We already have a couple of submissions for talks on test-related topics, but I think it would be good to have more. (Okay that's my personal bias showing). I think it w

Re: Test automation with perl.

2005-04-14 Thread Kevin Scaldeferri
On Apr 14, 2005, at 12:43 AM, suresh babu wrote: Hi Experts, I would like to reiterate my request. For our students i need these projects. Basically i want some open source projects and their test suits(developed using perl). We would like to use these projects as case studies to demonstrate tes

[perl #34984] [PATCH] Fix segfault with const

2005-04-14 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #34984] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34984 > [I submitted this patch from a web mailer last night, but it seems to have disappear

Re: Parrot/PUGS Hack-a-thon at the Austrian Perl Workshop

2005-04-14 Thread Jens Rieks
On Thursday 14 April 2005 21:57, Thomas Klausner wrote: > Hi! > > There will be a Parrot/PUGS Hack-a-thon at the Austrian Perl Workshop, > which takes place on 9th and 10th June in Vienna, Austria. > > Autrijus Tang, Chip Salzenberg and Leo Toetsch will be there. You should be > there too :-) I've

[perl #34988] [PATCH] Fix a few more typos

2005-04-14 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #34988] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34988 > This patch fixes a few more typos. I'll leave it a few months before doing this agai

[perl #34989] [PATCH] Fix a few more typos

2005-04-14 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #34989] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34989 > This patch fixes a few more typos. I'll leave it a few months before doing this agai

Re: More registers

2005-04-14 Thread Dan Sugalski
At 4:42 PM +0200 4/14/05, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: At 3:53 PM +0200 4/14/05, Jens Rieks wrote: Yes, the CVS repository is not updated anymore. Swell You need just this part: Date: Wed Apr 13 03:04:41 2005 New Revision: 7824 Modified: >trunk/imcc/reg

Re: [perl #34989] [PATCH] Fix a few more typos

2005-04-14 Thread Nick Glencross
Nick Glencross (via RT) wrote: # New Ticket Created by Nick Glencross # Please include the string: [perl #34989] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34989 > This patch fixes a few more typos. I'll leave it a few

New language: Parrot Common Lisp

2005-04-14 Thread Cory Spencer
I'd like to announce the creation of the Parrot Common Lisp project, which aims to implement a significant subset of the Common Lisp language. At present it's nowhere near achieving that goal, but it's progressing slowly as I figure out the intricacies of writing a Lisp implementation. A brief

Formatting and expounding on cookbook entries

2005-04-14 Thread gcomnz
All, I've only written a few cookbook entries for Perl 6 / Pugs, but there's already been plenty of feedback within the files, and it looks like the "treat the svn like a wiki" idea might be working. Something that stands out though is that feedback is often enough asking for more clarification o

Re: [pugs] Quoting constructs

2005-04-14 Thread Roie Marianer
On Tuesday 12 April 2005 12:03 am, you wrote: > I would rather give you commit rights (we give them out quite > liberally) and you could apply it yourself actually. But you should > first test your patch against the latest SVN revision since many many > many things have changed the past few days. S

Re: [pugs] Quoting constructs

2005-04-14 Thread Larry Wall
On Thu, Apr 14, 2005 at 10:04:42PM +0300, Roie Marianer wrote: : I did hit a snag with %hash and :key notation for hashes and : pairs; I'm not sure how to make them interpolate, so for now they just don't. Do you mean the behavior of "%hash" ":key" or %hash< a $key_b c > :key< a $val

Re: [pugs] Quoting constructs

2005-04-14 Thread Roie Marianer
On Friday 15 April 2005 3:06 am, Larry Wall wrote: > Do you mean the behavior of > > "%hash" ":key" > > or > > %hash< a $key_b c > :key< a $value_b c > > Thanks. I meant the latter (I got the former right), and that's what I thought. I'm still not sure exactly how to get it to work, I'll

Re: [pugs] Quoting constructs

2005-04-14 Thread Larry Wall
On Fri, Apr 15, 2005 at 03:27:27AM +0300, Roie Marianer wrote: : > %hash<< a $key_b c >> :key<< a $value_b c >> : > %hash« a $key_b c »:key« a $value_b c » : Just to be certain, these are both equivalent to : : @hash{'a', $key_b, 'c'} key => ['a', $value_b, 'c'] : : in Perl 5, righ

Macros [was: Whither "use English"?]

2005-04-14 Thread Sam Vilain
Larry Wall wrote: (B> Well, only if you stick to a standard dialect. As soon as you start (B> defining your own macros, it gets a little trickier. (B (BInteresting, I hadn't considered that. (B (BHaving a quick browse through some of the discussions about macros, many (Bof the macros I saw[

Re: [perl #34978] lib/Parrot/Test.pm should not use "&&" in commands

2005-04-14 Thread Michael G Schwern
On Thu, Apr 14, 2005 at 03:52:23AM -0700, Jens Rieks wrote: > lib/Parrot/Test.pm has several lines like > $cmd = qq{(cd $path_to_parrot && $parrot $args "$code_f")}; > As this command is executed with system(), it should not include "&&". > All tests on Win98/VC6 are failing with "Command not found

Re: [perl #34978] lib/Parrot/Test.pm should not use "&&" in commands

2005-04-14 Thread Michael G Schwern
And this patch has the added benefit of working. Index: lib/Parrot/Test/m4.pm === --- lib/Parrot/Test/m4.pm (revision 7835) +++ lib/Parrot/Test/m4.pm (working copy) @@ -2,10 +2,11 @@ use strict; -use Data::Dumper; +p

Re: should we change [^a-z] to <-[a..z]> instead of <-[a-z]>?

2005-04-14 Thread Patrick R. Michaud
On Thu, Apr 14, 2005 at 05:21:05PM -0700, Larry Wall wrote: > Given that we're trying to get rid of special > exceptions, and - in character classes is weird, and we already > use .. for ranges everywhere else, and nobody is going to put a > repeated character into a character class, I'm wondering

rsync has .svn directories?

2005-04-14 Thread Michael G Schwern
The rsync off of cvs.perl.org::parrot-HEAD as suggested on parrotcode.org contains .svn directories. This doesn't seem right.

RE: Test automation with perl.

2005-04-14 Thread Clayton, Nik
I'm copying this back to the mailing list because I thought it might be more generally useful. > a. what kind of application it is ?.. requirement? It's our external mail system. Broadly, this consists of Sendmail plus a whole host of locally developed or open source software working in tandem t

Re: A sketch of the security model

2005-04-14 Thread Aaron Sherman
On Thu, 2005-04-14 at 13:22 -0400, Dan Sugalski wrote: > Anyway, a number of people I deeply respect (and who do this sort of > thing for a living, at deep levels) have told me flat-out that we're > better not having a security system than we are trying to roll our > own, and the common respons

Re: should we change [^a-z] to <-[a..z]> instead of <-[a-z]>?

2005-04-14 Thread David Wheeler
On Apr 14, 2005, at 7:06 PM, Patrick R. Michaud wrote: So, <[a.z]> matches "a", ".", and "z", while <[a..z]> matches characters "a" through "z" inclusive. I was going to say that that was inconsistent, but since you never need to repeat a letter in a character class, well, I guess it isn't.

Re: Formatting and expounding on cookbook entries

2005-04-14 Thread publiustemp-perl6compiler
--- gcomnz <[EMAIL PROTECTED]> wrote: > Additionally, one of the first things I realized in working through > the entries is that the individual .p6 files that I was creating are > really not runnable as a whole. For instance, a file could contain a > few separate examples, and then a sample script

Re: [pugs] Quoting constructs

2005-04-14 Thread Autrijus Tang
On Thu, Apr 14, 2005 at 10:04:42PM +0300, Roie Marianer wrote: > On Tuesday 12 April 2005 12:03 am, you wrote: > > I would rather give you commit rights (we give them out quite > > liberally) and you could apply it yourself actually. But you should > > first test your patch against the latest SVN r

Re: JavaScript TestSimple 0.02

2005-04-14 Thread David Wheeler
On Apr 13, 2005, at 1:27 AM, Clayton, Nik wrote: Feel free to use (and extend) this set of reference tests. You can see the tests at: Thanks, I'll do that. I'll also look at what it would take to simply port the Test::Simple test scripts directly. :-) Cheers, David

[pugs] regexp "bug"?

2005-04-14 Thread BÁRTHÁZI András
Hi, This code: my $a='A'; $a ~~ s:perl5:g/A/{chr(65535)}/; say $a.bytes; Outputs "0". Why? Bye, Andras