examples/MyPlugin.pm: Updated for new version of the perl plugin.
authorSebastian Harl <sh@tokkee.org>
Mon, 26 Nov 2007 11:20:31 +0000 (12:20 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 4 Dec 2007 09:04:44 +0000 (10:04 +0100)
commit3e9c24b5cb8a0891b0daf49d6f574435afb3233d
tree51b19977b11d403f8c82a6fe0b1731748576ee8e
parentbe2313f9d6a575ff09e786cc3f1bb2fa7baa63a2
examples/MyPlugin.pm: Updated for new version of the perl plugin.

 * use Collectd.pm and removed "Collectd::" prefix
 * pass callbacks by name to plugin_register()

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
contrib/examples/MyPlugin.pm