Subject: | Please provide a setter for "shortname" |
Date: | Mon, 28 Sep 2015 00:50:06 +0200 |
To: | bug-Monitoring-Plugin [...] rt.cpan.org |
From: | Christoph Biedl <debian.axhn [...] manchmal.in-ulm.de> |
Hello,
one of my checks behaves quite differently depending on the parameter
values, and the "shortname" too should rather be different depending
on this. Therefore I'd like to override the shortname value at
run-time, not just in a Monitoring::Plugins constructor.
Poking $mp->{'shortname'} is possible and does the trick, but that's
really bad style. A simple setter was the sane solution.
Regards,
Christoph
Message body not shown because it is not plain text.