The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.02

  • Fix implicit and explicit destructors for context and sockets. (https://github.com/lestrrat/p5-ZMQ/issues/11), spotted by @melo
    • Previously this threw an assertion:
      • my $ctxt = zmq_init(); my $pid = fork(); exit(0) unless $pid; waitpid($pid, 0);
    • This is because $ctxt was being freed on both the child and the parent.
    • As of this version, we make sure that behind the scenes the context can only be freed in the process and thread that it was created in. Likewise sockets can only be freed within the same process.

Modules

A libzmq 2.x wrapper for Perl