IO::Socket and LWP::Simple for Perl 6

cosimo on 2009-04-18T20:08:21

There's a long way to go, the code is crappy, there's support for nothing but INET sockets, whatever you want, but...

the minimal skeleton versions of IO::Socket and LWP::Simple are working in Perl 6. This happened thanks to Jonathan Worthington, as usual, Carl Masak, Martin Berends and me, who wrote the crappy code.

So here's the final lwp-get.p6:


#!/usr/bin/perl6
use LWP::Simple;
say LWP::Simple.get('http://www.rakudo.org');

This was one of our goals for the 2009 Oslo Perl6 Hackaton. We did it! There's a huge lot of work still to do, but one significant step is done! Work is underway for server socket support (accept, bind, etc...) and fully speccing the sockets classes.


Excellent

petdance on 2009-04-19T03:31:29

Fantastic progress, thank you for teh update.