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

Reply via email to