logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ZMQ::FFI::Util - zmq convenience functions

Author

       Dylan Cali <calid1984@gmail.com>

Functions

zmq_soname([die=>0|1])
       Tries to load "libzmq" by looking for platform-specific shared library file using FFI::CheckLib with a
       fallback to Alien::ZMQ::latest.

       Returns the name of the first one that was successful or undef. If you would prefer exceptional behavior
       pass "die => 1"

   ($major,$minor,$patch)=zmq_version([$soname])
       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

       If $soname cannot be resolved undef is returned

Name

       ZMQ::FFI::Util - zmq convenience functions

See Also

       •   ZMQ::FFI

Synopsis

           use ZMQ::FFI::Util q(zmq_soname zmq_version)

           my $soname = zmq_soname();
           my ($major, $minor, $patch) = zmq_version($soname);

Version

       version 1.19

See Also