Looking at this little bit of code, the first thing I think is, is Net::SSLeay installed in the standard perl lib location on your system? If not, do you have a ./Net in your current directory? That is what stands out to me at first look, but I haven't played with Net::SSLeay too much yet...