ZMQ::FFI::Util - zmq convenience functions
version 0.08
use ZMQ::FFI::Util q(zmq_soname zmq_version) my $soname = zmq_soname(); my ($major, $minor, $patch) = zmq_version($soname);
Tries to load libzmq.so, libzmq.so.1, libzmq.so.3 in that order, returning the first one that was successful, or undef
return the libzmq version as the list ($major, $minor, $patch). $soname can either be a filename available in the ld cache or the path to a library file. If $soname is not specified it is resolved using zmq_soname above
($major, $minor, $patch)
$soname
zmq_soname
If $soname cannot be resolved undef is returned
ZMQ::FFI
Dylan Cali <calid1984@gmail.com>
This software is copyright (c) 2014 by Dylan Cali.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install ZMQ::FFI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ZMQ::FFI
CPAN shell
perl -MCPAN -e shell install ZMQ::FFI
For more information on module installation, please visit the detailed CPAN module installation guide.