Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

my $ua = LWP::UserAgent->new(); $ua->ssl_opts( timeout => 5 );

This sets the socket's IO::Socket::SSL timeout. But how is the object hierarchy constructed?are they related Inheritance or Composition wise?

What does this ssl_opts method actually do? Does it pass the message using delegation? or in other words,how do you start from a UserAgent object and end up in the lowest end of the IO::Socket module?

I looked at the source but since I have a background in Java I couldn't comprehend much

Replies are listed 'Best First'.
Re: LWP::UserAgent to IO::Socket.What is the way?
by Anonymous Monk on Mar 19, 2016 at 19:00 UTC
      like you want to describe the object relations between Useragent and Socket using a UML diagram .what would it look like?
        No thanks