Crypt::...Version(3)
πΈ NAME πΈ
okay so bestie, this whole page is about Crypt::SSLeay::Version β it lives in the User Contributed Perl Documentation section, and it's literally here to hand you OpenSSL version info. Periodt. π
β¨ SYNOPSIS β¨
use Crypt::SSLeay::Version qw(\
openssl_built_on
openssl_cflags
openssl_dir
openssl_platform
openssl_version
openssl_version_number
);
my $version = openssl_version();
if (openssl_cflags() =~ /DOPENSSL_NO_HEARTBEATS/) {
print "OpenSSL was compiled without heartbeats\n";
}
π¦ SUMMARY π¦
It exposes the info that SSLeay_version provides β the docs link is https://www.openssl.org/docs/crypto/SSLeay_version.html. No cap, that's the whole vibe. π
π EXPORTS π
By default, the module exports nothing. You can ask for each subroutine bloew to be exported to your namespace. Yep, bloew β we're keeping that exactly as the original says it. π«Ά
π SUBROUTINES π
π openssl_built_on
The date of the build process in the form built on: ... if available, or built on: date not available otherwise.
π openssl_cflags
The compiler flags set for the compilation process in the form compiler: ... if available, or compiler: information not available otherwise.
π§ openssl_dir
The OPENSSLDIR setting of the library build in the form OPENSSLDIR: ... if available, or OPENSSLDIR: N/A otherwise.
π openssl_platform
The Configure target of the library build in the form platform: ... if available, or platform: information not available otherwise.
β openssl_version
The version of the OpenSSL library including the release date.
π₯ openssl_version_number
The value of the OPENSSL_VERSION_NUMBER macro as an unsigned integer. This value is more like a string, because version information is packed into specific nibbles β see crypto/opensslv.h in the OpenSSL source and OpenSSL::Versions at https://metacpan.org/pod/OpenSSL::Versions for the explanation.
π AUTHOR π
A. Sinan Unur β "<nanis@cpan.org>"
πΈ COPYRIGHT πΈ
Copyright (C) 2014 A. Sinan Unur.
π LICENSE π
This program is free software; you can redistribute it and/or modify it under the terms of Artistic License 2.0 at http://www.perlfoundation.org/artistic_license_2_0. π
π cute sign-off: source/version is perl v5.42.0, date is 2024-03-04, and the footer label is Crypt::...Version(3). bye bestie, mwah! π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Crypt-SSLeay 0.72-160000.2.2 Β· Artistic-2.0
- opensuse-leap 16.0: perl-Crypt-SSLeay 0.72-160000.2.2 Β· Artistic-2.0
- opensuse-leap 16.0: perl-Crypt-SSLeay 0.72-160000.2.2 Β· Artistic-2.0
- opensuse-leap 16.0: perl-Crypt-SSLeay 0.72-160000.2.2 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms