← Index
NYTProf Performance Profile   « line view »
For /usr/local/libexec/sympa/task_manager-debug.pl
  Run on Tue Jun 1 22:32:51 2021
Reported on Tue Jun 1 22:35:14 2021

Filename/usr/local/lib/perl5/site_perl/Mail/AuthenticationResults/Token/Separator.pm
StatementsExecuted 0 statements in 0s
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
0000s0sMail::AuthenticationResults::Token::Separator::::BEGIN@10Mail::AuthenticationResults::Token::Separator::BEGIN@10
0000s0sMail::AuthenticationResults::Token::Separator::::BEGIN@5Mail::AuthenticationResults::Token::Separator::BEGIN@5
0000s0sMail::AuthenticationResults::Token::Separator::::BEGIN@6Mail::AuthenticationResults::Token::Separator::BEGIN@6
0000s0sMail::AuthenticationResults::Token::Separator::::BEGIN@8Mail::AuthenticationResults::Token::Separator::BEGIN@8
0000s0sMail::AuthenticationResults::Token::Separator::::isMail::AuthenticationResults::Token::Separator::is
0000s0sMail::AuthenticationResults::Token::Separator::::parseMail::AuthenticationResults::Token::Separator::parse
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Mail::AuthenticationResults::Token::Separator;
2# ABSTRACT: Class for modelling AuthenticationResults Header parts detected as separators
3
4require 5.008;
5use strict;
6use warnings;
7our $VERSION = '2.20210112'; # VERSION
8use Carp;
9
10use base 'Mail::AuthenticationResults::Token';
11
12
13sub is {
14 my ( $self ) = @_;
15 return 'separator';
16}
17
18sub parse {
19 my ($self) = @_;
20
21 my $header = $self->{ 'header' };
22 my $value = q{};
23
24 my $first = substr( $header,0,1 );
25 croak 'not a separator' if $first ne ';';
26
27 $header = substr( $header,1 );
28
29 $self->{ 'value' } = ';';
30 $self->{ 'header' } = $header;
31
32 return;
33}
34
351;
36
37__END__