riskersen / Monitoring

Monitoring plugins wich are Nagios/icinga compatible
65 stars 113 forks source link

Warnings on STDOUT regarding usage of experimental "given" and "when" keywords #46

Closed mhoogveld closed 3 years ago

mhoogveld commented 5 years ago

When run, warings are printed about the usage of the experimental "given" and "when". Typical output would include: given is experimental at ./check_ups_apc-original.pl line 381. and when is experimental at ./check_ups_apc-original.pl line 382.

The given / when feature is (sometimes) using "smartmatch" which is almost certainly either going to change or go away in the future. Replacement with other constructs seems to be the best solution instead of supressing these warnings.