use v6-alpha; say "*** Fetching from the Jerk It (tm) RSS feed..."; my $hdl = connect("www.phreeow.net", 80); $hdl.say( "GET /cgi-bin/jerkme.rss HTTP/1.0\n", "Host: www.phreeow.net\n" ); $hdl.flush; if ($hdl.slurp ~~ m:P5 {(.+)\s*}) { say $0; } else { say "*** Oops, connection failed." }