while (1) { $exe_path = "$openssl_path/bin/openssl"; last if -x $exe_path; $exe_path = "$openssl_path/bin/openssl.exe"; last if -x $exe_path; $exe_path = "$openssl_path/sbin/openssl"; last if -x $exe_path; $exe_path = "$openssl_path/out32dll/openssl.exe"; last if -x $exe_path; print "I could not find your OpenSSL in `$openssl_path'\n"; print "Please provide OpenSSL-$openssl_vers or\n" . "OpenSSL-$openssl_vers2 installation directory (get from\n" ." http://www.openssl.org/ if you don't have it; please note that\n" ." SSLeay is no longer supported, see README) (C-c to abort):\n"; $openssl_path = ; chomp $openssl_path; }