Re: concerns about adding new url schemes in URI::URL

Graham Barr (bodg@tiuk.ti.com)
Mon, 10 Apr 95 17:24:55 BST


In <199504101537.AA06629@world.std.com> 
On Mon, 10 Apr 1995 11:37:12 -0400 
Andrew Wilcox <awilcox@world.std.com> writes:
> > Well I think that it should be left in. You don't want to have to
> > change every application written just because someone has invernted a
> > new scheme.  Auto-loading allows the library and application to be
> > independant of what schemes are avaliable.
> 
> Well, new schemes ready for release can be put into URL.pm, and every
> application will see them.

But I don't want to edit URL.pm for every new scheme as it is written.

> > It also allows people to invent schemes which they may want to use
> > internally and not have to change any existing code
> 
> You just have to put in a "use newscheme;" once in your program, and
> the new scheme will register itself with URI::URL and be available
> from all your modules.

So every time we add a new scheme we either have to edit all applications
or add it to URL.pm and make it cusomised to our own setup.

Autoloading is very cheap and simple to implement. I don't see the gain be 
removing it but I see a load of advantages to leaving it in.

Regards,
Graham.

--
        .-----------------------------------------------------------.  
  ////  | Graham Barr                Email: bodg@tiuk.ti.com        |  \\\\ 
 |  00  | VLSI Cell Designer            or: bodg@ti.com             |  00  |
 O   ^  | MOS Design                TI MSG: BODG                    |  ^   O
  \ ~/  | Texas Instruments Ltd      Phone: +44 (0)1234 22 3419     |  \~ / 
        | ENGLAND                      Fax: +44 (0)1234 22 3331     |
        `-----------------------------------------------------------'