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: [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

[perl #40292] [TODO] Add JSON tests

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

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 #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