[perl #40231] [PATCH] t/compilers/pge/06-grammar.t written in PIR

2006-09-08 Thread Will Coleda via RT
On Thu Aug 24 08:03:56 2006, smash wrote: > Hi all, > > Inspired in the new t/compilers/pge/p6regex/01-regex.t written in PIR > by Coke, I have rewritten t/compilers/pge/06-grammar.t in PIR. The > test became four times faster. I think this test file should replace > the current t/compilers/pge/0

Re: socket related constants

2006-09-08 Thread chromatic
On Friday 08 September 2006 03:38, Leopold Toetsch wrote: > typical socket ocde currently looks a bit unfriendly due to magic > constants, e.g. > > socket sock, 2, 1, 6 # PF_INET, SOCK_STREAM, tcp > > I'd like to have symbolic constants for all that stuff: > > socket sock .PF_INET, .SO

[perl #40292] [TODO] Add JSON tests

2006-09-08 Thread Will Coleda via RT
Thanks, applied, along with the previous patch.

Re: [perl #40292] [TODO] Add JSON tests

2006-09-08 Thread Nuno Carvalho
Hi again, Haded some more tests to check for white spaces problems. Some tests fail to parse and so are marked todo. Attached to this message is the patch for the file 't/compilers/json/to_parrot.t'. Best regards, ./smash On 9/7/06, Nuno Carvalho <[EMAIL PROTECTED]> wrote: Hi all, I haded so

When should a LAST block be triggered?

2006-09-08 Thread Agent Zhang
Hello~ S04 says, "A NEXT executes only if the end of the loop block is reached normally, or an explicit next is executed." Then how about LAST blocks? Do they execute only if the last iteration of the loop is reached normally, or an explicit last is executed? Will return/leave/goto quietly byp

Re: IO::Socket, or any IO

2006-09-08 Thread Michael Snoyman
Thanks Audrey. I actually found that after writing that post. What I had wanted to do was write a threaded server, implemented in Perl 6 only (ie, including Perl 6 regexs). I got that working almost entirely, when I couldn't find any thread implementation. I tried using fork() to get a same ef

socket related constants

2006-09-08 Thread Leopold Toetsch
Hi, typical socket ocde currently looks a bit unfriendly due to magic constants, e.g. socket sock, 2, 1, 6# PF_INET, SOCK_STREAM, tcp I'd like to have symbolic constants for all that stuff: socket sock .PF_INET, .SOCK_STREAM, .PROTO_tcp Appended is a C snippet, which produces

Re: IO::Socket, or any IO

2006-09-08 Thread Audrey Tang
在 Aug 25, 2006 12:54 AM 時,Michael Snoyman 寫到: I was thinking of rewriting a little webserver program I wrote in Perl 5 using Pugs. I was wondering what the equivilent (if any) of IO::Socket is. I suppose I could use an external webserver and use CGI to get this working with IO, but my p