noxxi / p5-io-socket-ssl

IO::Socket::SSL Perl Module
36 stars 59 forks source link

Different base class? #82

Closed philippe44 closed 5 years ago

philippe44 commented 5 years ago

Hi - Would it be possible to have the base class as a parameter? One use case is to have SSL connections through SOCKS. To do that currently, I had to duplicate the whole SSL.pm in a new package just to have a different @ISA (IO::Socket::Socks). It works, but such duplication does not feel like the right think to do.

There might be a a much more simple option, but I'm still a Perl noob

Thanks

noxxi commented 5 years ago

There is no need to have a different base class just to use Socks. See my answer to your question at Stackoverflow for how to handle this case.