On Fri, 22 Apr 2005 15:09:21 -0400, Juerd <[EMAIL PROTECTED]> wrote:
Matt skribis 2005-04-22 14:44 (-0400):mailto isn't something you can "open" really, for read at least.
No, but writing to it ought to simplify things :)
given open 'mailto:[EMAIL PROTECTED]' { .say(q0:to<.> Subject: Useful mailto open User-Agent: Perl 6 In-Reply-To: <[EMAIL PROTECTED]> Hello, world! . ); .close or fail; }
Good point, I didn't think of that :) That would be awesome if you could do that in perl6 without needing any extra libraries.
What about ftp?
given open 'ftp://user:[EMAIL PROTECTED]:port' { .say(q0:USER username PASS password ); .close or fail; }
Though I'm not sure exactly how the FTP protocol works :)