| 1 | package Log::Saftpresse::Plugin::Postfix::Service; | ||
| 2 | |||
| 3 | 1 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | # ABSTRACT: plugin to parse postfix service | ||
| 6 | 1 | our $VERSION = '1.5'; # VERSION | |
| 7 | |||
| 8 | sub process_service { | ||
| 9 | 0 | ▶ | my ( $self, $stash ) = @_; |
|
Subroutine
process_service: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 10 | 0 | my $program = $stash->{'program'}; | |
| 11 | |||
| 12 | 0 | ( $stash->{'service'} ) = $stash->{'program'} =~ /([^\/]+)$/; | |
| 13 | |||
| 14 | 0 | return; | |
| 15 | } | ||
| 16 | |||
| 17 | 1 | 1; | |
| 18 | |||
| 19 | __END__ | ||
| 20 | |||
| 21 | =pod | ||
| 22 | |||
| 23 | =encoding UTF-8 | ||
| 24 | |||
| 25 | =head1 NAME | ||
| 26 | |||
| 27 | Log::Saftpresse::Plugin::Postfix::Service - plugin to parse postfix service | ||
| 28 | |||
| 29 | =head1 VERSION | ||
| 30 | |||
| 31 | version 1.5 | ||
| 32 | |||
| 33 | =head1 AUTHOR | ||
| 34 | |||
| 35 | Markus Benning <ich@markusbenning.de> | ||
| 36 | |||
| 37 | =head1 COPYRIGHT AND LICENSE | ||
| 38 | |||
| 39 | This software is Copyright (c) 1998 by James S. Seymour, 2015 by Markus Benning. | ||
| 40 | |||
| 41 | This is free software, licensed under: | ||
| 42 | |||
| 43 | The GNU General Public License, Version 2, June 1991 | ||
| 44 | |||
| 45 | =cut | ||