Requires patch 1 and 2 of the python series:
https://www.redhat.com/archives/libguestfs/2017-January/msg00126.html
This is the perl implementation along the same lines.
We still haven't decided if patch 1 of the python series should
change OCaml to report errno as reliable or not, but perhaps we
can commit that patch as-is now and then touch things up further
when we actually get set_error and zero working in OCaml.
Eric Blake (3):
perl: Allow use of modules
perl: Expose nbdkit_set_error to perl script
perl: Support zero callback
plugins/perl/example.pl | 16 +++++++++
plugins/perl/nbdkit-perl-plugin.pod | 56 +++++++++++++++++++++++++++++---
plugins/perl/perl.c | 65 ++++++++++++++++++++++++++++++++++++-
3 files changed, 131 insertions(+), 6 deletions(-)
--
2.9.3