> How can i link new openssl version with net::ssleay and io::socket::ssl? do i have to reinstall the modules or is there a command that to link?
You have to recompile and reinstall Net::SSLeay. And you need the OpenSSL header files for this which might or might be not installed on your system. Depending on how you've installed your new OpenSSL you might need to tell the Net::SSLeay installation where to look for the binary, library and header files. See the README file in the Net::SSLeay distribution for the exact details.