Re: RFC 14 (v2) Modify open() to support FileObjects and
[email protected] (Tom Hughes) Wed, 09 Aug 2000 22:02:01 +0100
| Newsgroups | perl.perl6.language.io |
|---|---|
| Message-ID | <[email protected]> |
In message <[email protected]> Graham Barr <[email protected]> wrote: > On Wed, Aug 09, 2000 at 11:41:42AM -0500, Jonathan Scott Duff wrote: > > > open 'ftp://ftp.perl.org/'; # ftp > > What user/password does it use Whatever you put in the URL with anonymous as default. > > open 'http://www.yahoo.com/'; # http > > will it support cookies, authentication ? No reason why not. > My point is that many of these protocols are more complex than I would > certain want open to handle. Leave the complex stuuf to those modules > and use the API they provide. The suggested syntax does not necessarily conflict with the above - the core might spot the xxx: scheme and try and load an xxx.pm from some well known path and hand off the open to that module. Tom -- Tom Hughes ([email protected]) http://www.compton.nu/ ...Let He who taketh the Plunge Remember to return it by Tuesday.