Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of cosimo (4138)

Saturday April 18, 2009
03:08 PM

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

[ #38826 ]

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.