Collectd::Unixsock: Update `putnotif', fix a bug in `getval', better debug output.
authorFlorian Forster <octo@noris.net>
Wed, 27 Aug 2008 15:46:05 +0000 (17:46 +0200)
committerFlorian Forster <octo@noris.net>
Wed, 27 Aug 2008 15:46:05 +0000 (17:46 +0200)
commit3b7c3e4595eacb8166c4f35c61111ee7543f14b0
treeb35707a2047fe09734a32d60fd08332e76305cd6
parentc0a78f2839e756d929758832444e3c7de8600622
Collectd::Unixsock: Update `putnotif', fix a bug in `getval', better debug output.

The `putnotif' method now handles identifiers and options with spaces
correctly. The `getval' plugin now reads the returned data line wise,
which is the right thing to do anyway. The new `_debug' function prints
debugging output if the (module)global $Debug variable is set.
bindings/perl/Collectd/Unixsock.pm