use ZMQ::FFI::Constants qw(ZMQ_LINGER ZMQ_FD); # or use ZMQ::FFI::Constants q(:all)
This module includes every zmq constant from every stable version of zeromq. Currently that is $first-$latest. It was generated using the zeromq2-x, zeromq3-x, zeromq4-x, zeromq4-1, and libzmq git repos at https://github.com/zeromq.
END
say "\nWriting module file"; $constants_pm->spew($module); say "Done!\n";
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.