summaryrefslogtreecommitdiffstats
path: root/lib/Monitoring/Plugin/ExitResult.pm
diff options
context:
space:
mode:
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.