Why not adopt me?This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.
POEx::ZMQ::FFI - libzmq3+ FFI wrapper for POEx::ZMQ
# Used internally by POEx::ZMQ.
my $soname = POEx::ZMQ::FFI->find_soname;
Attempts to find an appropriate
libzmq dynamic library, with a preference for the newest known version; croaks on failure.
my $vstruct = POEx::ZMQ::FFI->get_version; my $version = $vstruct->string; # 3.2.1 my $major = $vstruct->major; # 3 my $minor = $vstruct->minor; # 2 my $patch = $vstruct->patch; # 1
Returns a struct-like object containing the zmq_version(3) version information.
The dynamic library name can be supplied:
my $vstruct = POEx::ZMQ::FFI->get_version($soname);
... otherwise the library found by "find_soname" is used.
Jon Portnoy <firstname.lastname@example.org>
Significant portions of the FFI backend are derived from ZMQ::FFI by Dylan Cali (CPAN: CALID).
Licensed under the same terms as Perl.