the problem was much simpler: it needed to be \$config_href, not $config_href, because the $ needed to be escaped.
On Sun, May 21, 2017 at 8:02 AM Pavel V. <[email protected]> wrote: > Hi, Andreas. > > > I am simplifying my perl plugin code (a lot). Of course i still run > several > > different instances of the code, still, because i monitor several > devices. > > > The somewhat magic code for creating a unique read callback stopped > working. > > This is the current code, that give me the error > > Collectd::Plugins::OneWireCtlr::my_read_192_168_178_117 error: Undefined > > subroutine &Collectd::Plugins::OneWireCtlr::HASH called at (eval 16) > line 1. > > I think that can happen due to missing locking while use of shared > variable from > multiple threads in my_read() . Is it that case is possible? > > > -- > Regards, > Pavel mailto:[email protected] > >
_______________________________________________ collectd mailing list [email protected] https://mailman.verplant.org/listinfo/collectd
