Nathan Wiger <[EMAIL PROTECTED]> writes: > open 'http://www.yahoo.com/'; > open 'https://www.etrade.com/'; # what module? https? > > No matter what, you're going to have to embed something in there that > decides for you what todo. What if an "httpx:" method comes out?? Will > Perl < 6.2.1 (when the "httpx:" hook was added) not work? open 'foo:bar' would search for module open::foo and pass 'bar' to its 'open' method. Modules that are explicitly 'use'd can register access protocols as well. Considering that many common tools (Windows Explorer, StarOffice, KDE, ...) generalize filenames and URLs, perl should be able to do that, too. -- Johan
- Re: RFC 14 (v2) Modify open() to support ... Piers Cawley
- Re: RFC 14 (v2) Modify open() to supp... Bart Lateur
- Re: RFC 14 (v2) Modify open() to support File... Tom Hughes
- Re: RFC 14 (v2) Modify open() to support ... Tom Hughes
- Re: RFC 14 (v2) Modify open() to supp... Chaim Frenkel
- Re: RFC 14 (v2) Modify open() to supp... Piers Cawley
- Re: RFC 14 (v2) Modify open() to support ... Piers Cawley
- Re: RFC 14 (v2) Modify open() to support File... Jonathan Scott Duff
- Re: RFC 14 (v2) Modify open() to support FileObje... Nathan Wiger
- Re: RFC 14 (v2) Modify open() to support File... Nathan Wiger
- Re: RFC 14 (v2) Modify open() to support File... Johan Vromans
- Re: RFC 14 (v2) Modify open() to support File... Nick Ing-Simmons
- Re: RFC 14 (v2) Modify open() to support FileObjects a... Graham Barr
- Re: RFC 14 (v2) Modify open() to support FileObje... Casey R. Tweten
- Re: RFC 14 (v2) Modify open() to support File... Nathan Wiger