http://qs321.pair.com?node_id=431113


in reply to Re^2: lib::http - Using virtually a Perl library from the Internet with the HTTP protocol.
in thread lib::http - Using virtually a Perl library from the Internet with the HTTP protocol.

Yes, but both modules still have plenty in common. Subclassing helps avoid code duplication; reading similar code often enlightens.
  • Comment on Re^3: lib::http - Using virtually a Perl library from the Internet with the HTTP protocol.

Replies are listed 'Best First'.
Re^4: lib::http - Using virtually a Perl library from the Internet with the HTTP protocol.
by Anonymous Monk on Feb 15, 2005 at 15:52 UTC
    There's no sence to subclasse a module that doesn't have the architecture that will do what you want. For example, there's no module, before lib::http, that with just the Perl CORE I can use other libraries in other location. This is not just about code and interface, is also about what happens in the background.