in reply to Dependencies of perl Modules

Most modules speaking TLS will need OpenSSL (Net::SSLeay or IO::Socket::SSL, which in turn uses Net::SSLeay again).

HTTP connections do not use TLS, but HTTPS is HTTP over TLS and will need a module that speaks TLS, like IO::Socket::SSL.

When you install Perl modules through your OS package manager all libraries will be installed.

If you install Perl modules through one of the Perl package tools like cpan or cpanm, you will need to separately install the OpenSSL parts through your OS package manager.

Replies are listed 'Best First'.
Re^2: Dependencies of perl Modules
by prathap keerthipati (Novice) on Apr 11, 2017 at 06:00 UTC

    Where to install the openSSL? And after installation how the perl will know about this OpenSSl

      Let your OS package manager worry about where to install openssl. The perl module will look for openssl and you can specify a path if you rolled your own into a non standard location. Did you read the module documentation?