| 1 | # ABSTRACT: Off-the-Record contact's Fingerprint | ||
| 2 | package Protocol::OTR::Fingerprint; | ||
| 3 | 9 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 9 | $Protocol::OTR::Fingerprint::AUTHORITY = 'cpan:AJGB'; | |
| 5 | } | ||
| 6 | 9 | $Protocol::OTR::Fingerprint::VERSION = '0.05'; | |
| 7 | 9 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 9 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 17 | ▶ | sub _new { |
|
Subroutine
_new: called CC=1 SCAR=0.0
| |||
| 11 | 17 | my ($class, $cnt, $args) = @_; | |
| 12 | |||
| 13 | 17 | my $self = bless $args, $class; | |
| 14 | 17 | $self->{cnt} = $cnt; | |
| 15 | |||
| 16 | 17 | return $self; | |
| 17 | } | ||
| 18 | |||
| 19 | 12 | ▶ | sub contact { |
|
Subroutine
contact: called CC=1 SCAR=0.0
Pod
documented
| |||
| 20 | 12 | return $_[0]->{cnt}; | |
| 21 | } | ||
| 22 | |||
| 23 | 10 | ▶ | sub status { |
|
Subroutine
status: called CC=1 SCAR=0.0
Pod
documented
| |||
| 24 | 10 | return $_[0]->{status}; | |
| 25 | } | ||
| 26 | |||
| 27 | 7 | ▶ | sub is_verified { |
|
Subroutine
is_verified: called CC=1 SCAR=0.0
Pod
documented
| |||
| 28 | 7 | return $_[0]->{is_verified}; | |
| 29 | } | ||
| 30 | |||
| 31 | 9 | 1; | |
| 32 | |||
| 33 | __END__ | ||