diff options
| author | Sven Nierlein <sven@nierlein.de> | 2014-01-20 14:49:14 +0100 |
|---|---|---|
| committer | Sven Nierlein <sven@nierlein.de> | 2014-01-20 14:49:14 +0100 |
| commit | dfae38b656242898ce962c9ad93ed66be45fc3d4 (patch) | |
| tree | d781a2ff90888c08379ebcd45f8ec51dda324882 /lib/Monitoring/Plugin/ExitResult.pm | |
| parent | b418181dfe80dd75169b6e8a619ac1932155dea2 (diff) | |
| download | monitoring-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.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. |
