summaryrefslogtreecommitdiffstats
path: root/lib/Monitoring/Plugin/ExitResult.pm
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2014-01-20 13:49:14 (GMT)
committerSven Nierlein <sven@nierlein.de>2014-01-20 13:49:14 (GMT)
commitdfae38b656242898ce962c9ad93ed66be45fc3d4 (patch)
treed781a2ff90888c08379ebcd45f8ec51dda324882 /lib/Monitoring/Plugin/ExitResult.pm
parentb418181dfe80dd75169b6e8a619ac1932155dea2 (diff)
downloadmonitoring-plugin-perl-dfae38b656242898ce962c9ad93ed66be45fc3d4.tar.gz
keep the old name in copyright for more transparencyv0.37
Signed-off-by: Sven Nierlein <sven@nierlein.de>
Diffstat (limited to 'lib/Monitoring/Plugin/ExitResult.pm')
-rw-r--r--lib/Monitoring/Plugin/ExitResult.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Monitoring/Plugin/ExitResult.pm b/lib/Monitoring/Plugin/ExitResult.pm
index aa9f5da..ab79a19 100644
--- a/lib/Monitoring/Plugin/ExitResult.pm
+++ b/lib/Monitoring/Plugin/ExitResult.pm
@@ -1,8 +1,10 @@
1# Tiny helper class to return both output and return_code when testing
2
3package Monitoring::Plugin::ExitResult; 1package Monitoring::Plugin::ExitResult;
4 2
3# Tiny helper class to return both output and return_code when testing
4
5use 5.006;
5use strict; 6use strict;
7use warnings;
6 8
7# Stringify to message 9# Stringify to message
8use overload '""' => sub { shift->{message} }; 10use overload '""' => sub { shift->{message} };
@@ -63,7 +65,8 @@ Originally:
63 65
64=head1 COPYRIGHT AND LICENSE 66=head1 COPYRIGHT AND LICENSE
65 67
66Copyright (C) 2006-2014 Monitoring Plugin Development Team 68Copyright (C) 2014 by Monitoring Plugin Team
69Copyright (C) 2006-2014 by Nagios Plugin Development Team
67 70
68This library is free software; you can redistribute it and/or modify 71This library is free software; you can redistribute it and/or modify
69it under the same terms as Perl itself. 72it under the same terms as Perl itself.