On Sun, 13 Jul 2014 05:01:38 -0400, giovanni@paclan.it wrote:
Show quoted text> Hi,
> in Zabbix::API the "given" and "when" keywords are used but they are
> still experimental and they give warnings.
> Patch attached to fix the warnings.
> Giovanni
Hello,
Thanks for the patches. This will be a good excuse to do a new
release of Zabbix-API after more than one year.
If you are using Zabbix 2.x though (which you probably are if you are
running a system recent enough to have a perl that emits warnings on
given/when), consider using Zabbix2-API instead. It has more
dependencies but I am working on it much more often than Zabbix-API.
If you are really using Zabbix 1.8.x, there is a branch on the
Zabbix-API github repository with some work done towards compatibility
with Perl 5.8, which may be of interest to you as well (no given/when
there, so presumably no warnings).
--
Fabrice Gabolde