diff options
Diffstat (limited to 'lib/Monitoring/Plugin/ExitResult.pm')
-rw-r--r-- | lib/Monitoring/Plugin/ExitResult.pm | 9 |
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 | |||
3 | package Monitoring::Plugin::ExitResult; | 1 | package Monitoring::Plugin::ExitResult; |
4 | 2 | ||
3 | # Tiny helper class to return both output and return_code when testing | ||
4 | |||
5 | use 5.006; | ||
5 | use strict; | 6 | use strict; |
7 | use warnings; | ||
6 | 8 | ||
7 | # Stringify to message | 9 | # Stringify to message |
8 | use overload '""' => sub { shift->{message} }; | 10 | use overload '""' => sub { shift->{message} }; |
@@ -63,7 +65,8 @@ Originally: | |||
63 | 65 | ||
64 | =head1 COPYRIGHT AND LICENSE | 66 | =head1 COPYRIGHT AND LICENSE |
65 | 67 | ||
66 | Copyright (C) 2006-2014 Monitoring Plugin Development Team | 68 | Copyright (C) 2014 by Monitoring Plugin Team |
69 | Copyright (C) 2006-2014 by Nagios Plugin Development Team | ||
67 | 70 | ||
68 | This library is free software; you can redistribute it and/or modify | 71 | This library is free software; you can redistribute it and/or modify |
69 | it under the same terms as Perl itself. | 72 | it under the same terms as Perl itself. |