Re: libwww, a different approach

Martijn Koster (m.koster@nexor.co.uk)
Wed, 15 Mar 1995 16:03:43 +0000


> My class hierarchy was completely different and I feel it has several 
> advantages over the hierarchy adopted by libwww-perl, but the main one 
> being that protocols are loaded on demand and nothing about any protocol
> is 'hard-coded' into any package. This made the adding of a protocol as 
> simple as writing it and placing the file in the correct place.

I agree that'd be nice, and it's easy enough to add. my Request.pm
hash a "hardcoded" %schemes registery, but that can easily be relaxed.
Are you using a filename convention (ie file:// is handled by
www/file.pm etc?) to intially locate the package to autoload?

-- Martijn
__________
Internet: m.koster@nexor.co.uk
X-400: C=GB; A= ; P=Nexor; O=Nexor; S=koster; I=M
X-500: c=GB@o=NEXOR Ltd@cn=Martijn Koster
WWW: http://web.nexor.co.uk/mak/mak.html