Command perl -M IO::Socket::SSL -E "say IO::Socket::SSL -> VERSION()" Output 2.085 Assuming $VERSION is defined.