| 1 | package OpenTracing::Tag; | ||
| 2 | |||
| 3 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 8 | our $VERSION = '1.006'; # VERSION | |
| 7 | 8 | our $AUTHORITY = 'cpan:TEAM'; # AUTHORITY | |
| 8 | |||
| 9 | 8 | ▶ | use parent qw(OpenTracing::Common); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 8 | ▶ | no indirect; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 8 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | =encoding utf8 | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | OpenTracing::Tag - wrapper object for tags | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | Most of the time, tags are represented as simple key/value entries in a hashref. | ||
| 23 | |||
| 24 | Some tags have specific semantic meaning, so this class acts as a base for supporting | ||
| 25 | future operations on specific tags. | ||
| 26 | |||
| 27 | =cut | ||
| 28 | |||
| 29 | =head2 key | ||
| 30 | |||
| 31 | The tag key, a plain string. | ||
| 32 | |||
| 33 | =cut | ||
| 34 | |||
| 35 | 0 | ▶ | sub key { shift->{key} } |
|
Subroutine
key: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 36 | |||
| 37 | =head2 value | ||
| 38 | |||
| 39 | The tag value, as a plain string. | ||
| 40 | |||
| 41 | =cut | ||
| 42 | |||
| 43 | 0 | ▶ | sub value { shift->{value} } |
|
Subroutine
value: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 44 | |||
| 45 | 8 | 1; | |
| 46 | |||
| 47 | __END__ | ||