From dfae38b656242898ce962c9ad93ed66be45fc3d4 Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Mon, 20 Jan 2014 14:49:14 +0100 Subject: keep the old name in copyright for more transparency Signed-off-by: Sven Nierlein --- lib/Monitoring/Plugin/Config.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/Monitoring/Plugin/Config.pm') diff --git a/lib/Monitoring/Plugin/Config.pm b/lib/Monitoring/Plugin/Config.pm index 5e941d4..fe2b654 100644 --- a/lib/Monitoring/Plugin/Config.pm +++ b/lib/Monitoring/Plugin/Config.pm @@ -1,6 +1,9 @@ package Monitoring::Plugin::Config; +use 5.006; use strict; +use warnings; + use Carp; use File::Spec; use base qw(Config::Tiny); @@ -93,10 +96,12 @@ sub read_string sub write { croak "Write access not permitted" } # Return last file used by read(); -sub np_getfile { return $CURRENT_FILE; } +sub mp_getfile { return $CURRENT_FILE; } 1; +__END__ + =head1 NAME Monitoring::Plugin::Config - read nagios plugin .ini style config files @@ -169,7 +174,8 @@ https://monitoring-plugins.org =head1 COPYRIGHT AND LICENSE -Copyright (C) 2006-2014 Monitoring Plugin Development Team +Copyright (C) 2014 by Monitoring Plugin Team +Copyright (C) 2006-2014 by Nagios Plugin Development Team This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -- cgit v1.2.3-74-g34f1