other versions
- bookworm 2.0.73-1
- bookworm-backports 2.0.76-1~bpo12+1
- testing 2.0.76-2
- unstable 2.0.76-3
- experimental 2.999.16-1
Munin::Node::Configure::History(3pm) | User Contributed Perl Documentation | Munin::Node::Configure::History(3pm) |
NAME¶
Munin::Node::Configure::History - Filtering plugins based on the version of Munin they were first distributed with.
SYNOPSIS¶
my $plugin = Munin::Node::Configure::History->new( newer => '1.3.3', history_file => 'plugins/plugins.history', );
METHODS¶
- new(%args)
- Constructor.
The 'history_file' argument is required, and should be the path to the plugin history file. The 'newer' argument is optional, and should be the version of the release before which plugins should be ignored.
- load()
- Loads the plugin history from history_file. Dies if 'newer' didn't match a valid release, or the file wasn't readable.
- too_old($plugin)
- Takes a Munin::Node::Configure::Plugin object. Returns false unless the plugin should be ignored, true otherwise (ie. if 'newer' wasn't set, the plugin is user-contributed, etc).
2022-02-10 | perl v5.34.0 |