volks,
there was the recent query about
so what exactly does an LWP::UserAgent return?
Those who come to perl with a background in other OO
languages remember that any sub_class will inherit
the methods of it's super class, all the way up the
parental chain to the beginning of time.
Unfortunately at times perl documentation at best
hand waves at the fact that
FOO is a sub_class of BAR, BAZ and BOB
and may call out which methods were overloaded in FOO.
Sometimes they are not always as clear about that, and
one is required to peek and poke to figure out
$foo_obj->cool_base_method(@arg_list);
is using the cool_base_method() from the 'base class'
and hence needs to read the perldoc's from there...
in particular, you can track from
perldoc LWP::UserAgent
that it pulls together
"It brings together the
HTTP::Request, HTTP::Response and the LWP::Protocol
classes that form the rest of the core of libwww-perl
library."
Thus when you check out
perldoc HTTP::Response
you will find that it is a subclass of HTTP::Message -
which as the perldoc there will tell you is an 'abstract class'
and should never be instantiated itself - but you of course
will find it useful to understand the basic methods found there...
HTH...
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]