Re: [perl #83866] IO::Socket::INET Couldn't create socket.

2011-03-17 Thread Cosimo Streppone
On Fri, 18 Mar 2011 08:34:19 +1100, Moritz Lenz wrote: Today I pushed a completely new socket implementation, which is much closer to p5's IO::Socket::INET, and IMHO has a much saner interface. For a client, write my $c = IO::Socket::INET.new(:host('http://rakudo.org/'), :port(80)); # no sepa

Re: [perl #83866] IO::Socket::INET Couldn't create socket.

2011-03-17 Thread Moritz Lenz
Today I pushed a completely new socket implementation, which is much closer to p5's IO::Socket::INET, and IMHO has a much saner interface. For a client, write my $c = IO::Socket::INET.new(:host('http://rakudo.org/'), :port(80)); # no separate .open call necessary. For a server, write my $s = IO

Re: spell check in code

2011-03-17 Thread Moritz Lenz
On 03/17/2011 09:55 PM, Darren Duncan wrote: > It occurs to me, both from my own experience in writing code as well as seeing > some production code by others, that spell-checking may be useful in > programming > languages. > > To be specific, often user-defined entities such as variable or rou

spell check in code

2011-03-17 Thread Darren Duncan
It occurs to me, both from my own experience in writing code as well as seeing some production code by others, that spell-checking may be useful in programming languages. To be specific, often user-defined entities such as variable or routine names or attribute names or type names may be declared

Re: [perl #86338] [BUG] Proper type checking not done in generic method signatures in Rakudo

2011-03-17 Thread Moritz Lenz
Am 16.03.2011 21:58, schrieb Carl MXXsak (via RT): rakudo: role R[::T] { multi method foo(::T $x) { say $x } }; class C does R[Str] does R[Int] {}; C.new.foo(5.5) # should fail, right? Note that T would be the type, ::T is a type capture - it (hopefully lexically) rebinds T to the type of $x

Announce: Rakudo Perl 6 compiler development release #39 ("Orlando")

2011-03-17 Thread Jeff Horelick
On behalf of the Rakudo development team, I'm happy to announce the March 2011 release of Rakudo Perl #39 "Orlando". Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine (see ). The tarball for the March 2011 release is available from