| 1 | package Langertha::ServerTool; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | # ABSTRACT: Provider-native server-side tool definition, pinned to one wire format | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | 197 | our $VERSION = '0.505'; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | 197 | ▶ | use Moose; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | 197 | ▶ | use Carp qw( croak ); | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 6 | 197 | ▶ | use Scalar::Util qw( blessed ); | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 7 | 197 | ▶ | use Langertha::Tool; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 9 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 10 | # Wires whose server tools this value object can carry (Phase 1a, k206). | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11 | 197 | my %SUPPORTED_WIRE = ( responses => 1 ); | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 13 | # Typed client tools that are never server tools, even with unlisted => 1. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 14 | 197 | my %CLIENT_TYPE = map { $_ => 1 } qw( function custom namespace ); | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 15 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 16 | 197 | has wire => ( | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 17 | is => 'ro', | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 18 | isa => 'Str', | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 19 | required => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 20 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 21 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 23 | 197 | has spec => ( | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 24 | is => 'ro', | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25 | isa => 'HashRef', | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | required => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 27 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 28 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 29 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 30 | 197 | has unlisted => ( | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 31 | is => 'ro', | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 32 | isa => 'Bool', | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 33 | default => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 34 | ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 35 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 36 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 37 | 149 | ▶ | around BUILDARGS => sub { | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 38 | 149 | my ( $orig, $class, @args ) = @_; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 39 | 149 | my $params = $class->$orig(@args); | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 40 | 149 | ▶ | $params->{spec} = { %{ $params->{spec} } } if ref $params->{spec} eq 'HASH'; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 41 | 149 | return $params; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 42 | 197 | }; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44 | 149 | ▶ | sub BUILD { | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BUILD: called CC=14 SCAR=37.8
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 45 | 0 | ▶ | my ($self) = @_; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BUILD: not called CC=14 SCAR=37.8
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 46 | 0 | my $wire = $self->wire; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 47 | 0 | my $spec = $self->spec; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 48 | 0 | ▶ | my $label = $spec->{type} // ''; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%2/4
$spec->{"type"} // ""
$$spec{"type"} // ""
MC/DC100%1/1
$spec->{"type"} // ""
$spec->{"type"}
MC/DC0%0/1
$$spec{"type"} // ""
$$spec{"type"}
Truth table100%2/2
A
A= $spec->{"type"}
Truth table0%0/2
A
A= $$spec{"type"}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 49 | croak "Langertha::ServerTool: server tools on the '$wire' wire are not supported yet" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 50 | 0 | ▶ | unless $SUPPORTED_WIRE{$wire}; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 51 | 0 | ▶ | croak "Langertha::ServerTool: spec has no type (keys: " | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
Condition25%1/4
join(',', sort(keys %$spec)) || '(empty)'
join(',', sort(keys %$spec)) || '(empty)'
MC/DC0%0/1
join(',', sort(keys %$spec)) || '(empty)'
join(',', sort(keys %$spec))
MC/DC0%0/1
join(',', sort(keys %$spec)) || '(empty)'
join(',', sort(keys %$spec))
Truth table50%1/2
A
A= join(',', sort(keys %$spec))
Truth table0%0/2
A
A= join(',', sort(keys %$spec))
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 52 | . ( join( ',', sort keys %$spec ) || '(empty)' ) . ")" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 53 | unless length $label; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 54 | 0 | my ( $category, $own_wire ) = Langertha::Tool->classify($spec); | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 55 | 0 | ▶ | croak "Langertha::ServerTool: '$label' is a function tool; use Langertha::Tool" | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
Condition33%2/6
$category eq "function" and $label eq "function"
$category eq "function" and $label eq "function"
MC/DC50%1/2
$category eq "function" and $label eq "function"
$category eq "function"
$label eq "function"
MC/DC0%0/2
$category eq "function" and $label eq "function"
$category eq "function"
$label eq "function"
Truth table66%2/3
A and B
A= $category eq "function"B= $label eq "function"
Truth table0%0/3
A and B
A= $category eq "function"B= $label eq "function"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 56 | if $category eq 'function' && $label eq 'function'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 57 | croak "Langertha::ServerTool: '$label' is a client tool, not a server tool" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 58 | 0 | ▶ | if $CLIENT_TYPE{$label} || $category eq 'function'; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
Condition33%2/6
$CLIENT_TYPE{$label} or $category eq "function"
$CLIENT_TYPE{$label} or $category eq "function"
MC/DC50%1/2
$CLIENT_TYPE{$label} or $category eq "function"
$CLIENT_TYPE{$label}
$category eq "function"
MC/DC0%0/2
$CLIENT_TYPE{$label} or $category eq "function"
$CLIENT_TYPE{$label}
$category eq "function"
Truth table66%2/3
A or B
A= $CLIENT_TYPE{$label}B= $category eq "function"
Truth table0%0/3
A or B
A= $CLIENT_TYPE{$label}B= $category eq "function"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 59 | 0 | ▶ | croak "Langertha::ServerTool: '$label' is a client-executed built-in ($own_wire), not a server tool" | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 60 | if $category eq 'client_builtin'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 61 | 0 | ▶ | croak "Langertha::ServerTool: '$label' belongs to the $own_wire wire, not '$wire'" | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
Condition50%3/6
$category eq "server" and $own_wire ne $wire
$category eq "server" and $own_wire ne $wire
MC/DC100%2/2
$category eq "server" and $own_wire ne $wire
$category eq "server"
$own_wire ne $wire
MC/DC0%0/2
$category eq "server" and $own_wire ne $wire
$category eq "server"
$own_wire ne $wire
Truth table100%3/3
A and B
A= $category eq "server"B= $own_wire ne $wire
Truth table0%0/3
A and B
A= $category eq "server"B= $own_wire ne $wire
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 62 | if $category eq 'server' && $own_wire ne $wire; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63 | 0 | ▶ | return if $category eq 'server' || $self->unlisted; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 2 branches
Condition50%3/6
$category eq "server" or $self->unlisted
$category eq "server" or $self->unlisted
MC/DC100%2/2
$category eq "server" or $self->unlisted
$category eq "server"
$self->unlisted
MC/DC0%0/2
$category eq "server" or $self->unlisted
$category eq "server"
$self->unlisted
Truth table100%3/3
A or B
A= $category eq "server"B= $self->unlisted
Truth table0%0/3
A or B
A= $category eq "server"B= $self->unlisted
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64 | 0 | croak "Langertha::ServerTool: '$label' is not a known server tool on '$wire'; " | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 65 | . "pass unlisted => 1 if the provider runs it"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 66 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 67 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 68 | 269 | ▶ | sub type { $_[0]->spec->{type} } | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
type: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 69 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 70 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 71 | 1745 | ▶ | sub from_hash { | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
from_hash: called CC=7 SCAR=19.5
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 72 | 1745 | my ( $class, $fmt, $hash ) = @_; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 73 | 1745 | ▶ | return $hash if blessed($hash) && $hash->isa(__PACKAGE__); | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%3/3
builtin::blessed($hash) and $hash->isa(__PACKAGE__)
MC/DC100%2/2
builtin::blessed($hash) and $hash->isa(__PACKAGE__)
builtin::blessed($hash)
$hash->isa(__PACKAGE__)
Truth table100%3/3
A and B
A= builtin::blessed($hash)B= $hash->isa(__PACKAGE__)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 74 | 1719 | ▶ | return undef unless ref $hash eq 'HASH'; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 75 | 1682 | ▶ | return undef unless defined $fmt && $SUPPORTED_WIRE{$fmt}; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
defined $fmt and $SUPPORTED_WIRE{$fmt}
MC/DC50%1/2
defined $fmt and $SUPPORTED_WIRE{$fmt}
defined $fmt
$SUPPORTED_WIRE{$fmt}
Truth table66%2/3
A and B
A= defined $fmtB= $SUPPORTED_WIRE{$fmt}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 76 | 861 | ▶ | return undef unless Langertha::Tool->classify( $hash, $fmt ) eq 'server'; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 77 | 129 | return $class->new( wire => $fmt, spec => $hash ); | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 78 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 79 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 80 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 81 | 157 | ▶ | sub to { | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
to: called CC=9 SCAR=22.1
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 82 | 157 | my ( $self, $fmt ) = @_; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 83 | 157 | ▶ | $fmt //= ''; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$fmt //= ""
MC/DC0%0/1
$fmt //= ""
$fmt
Truth table50%1/2
A
A= $fmt
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 84 | 157 | ▶ | croak "Langertha::ServerTool: '" . $self->type . "' belongs to the " | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 85 | . $self->wire . " wire, not '$fmt'; server tools are provider-native and cannot be translated" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 86 | unless $fmt eq $self->wire; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 87 | 148 | my $spec = $self->spec; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 88 | # Remote MCP on the Responses wire: OpenAI defaults require_approval to | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 89 | # "always", which answers with an mcp_approval_request the client must | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 90 | # confirm, and Langertha has no approval flow (orchestrator ruling Q2 on | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 91 | # k206). Checked here, on the one door every emission path goes through -- | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 92 | # the Responses envelope and Tool->format_list, which sees no engine -- so it | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 93 | # is enforced once (k206 review M3). An engine whose provider does not take | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 94 | # the field (xAI) strips it in its _server_tool_wire_check hook afterwards. | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 95 | 148 | ▶ | if ( $self->type eq 'mcp' && $fmt eq 'responses' ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$self->type eq "mcp" and $fmt eq "responses"
MC/DC50%1/2
$self->type eq "mcp" and $fmt eq "responses"
$self->type eq "mcp"
$fmt eq "responses"
Truth table66%2/3
A and B
A= $self->type eq "mcp"B= $fmt eq "responses"
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 96 | 26 | my $approval = $spec->{require_approval}; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 97 | 26 | ▶ | croak "Langertha::ServerTool: remote MCP tool '" . ( $spec->{server_label} // '?' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition87%7/8
defined $approval and not ref $approval and $approval eq "never"
defined $approval and not ref $approval
$spec->{"server_label"} // "?"
MC/DC100%3/3
defined $approval and not ref $approval and $approval eq "never"
defined $approval
not ref $approval
$approval eq "never"
MC/DC0%0/1
$spec->{"server_label"} // "?"
$spec->{"server_label"}
Truth table100%4/4
A and not(B) and C
A= defined $approvalB= not ref $approvalC= $approval eq "never"
Truth table50%1/2
A
A= $spec->{"server_label"}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 98 | . "' needs require_approval => 'never'; the approval flow is not supported" | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 99 | unless defined $approval && !ref $approval && $approval eq 'never'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 100 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 101 | 136 | return { %$spec }; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 102 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 103 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 104 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 105 | 584 | ▶ | sub check_engine { | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
check_engine: called CC=6 SCAR=17.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 106 | 584 | my ( $class, $engine, $tools ) = @_; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 107 | 584 | ▶ | return unless ref $tools eq 'ARRAY'; | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 108 | 319 | ▶ | return if $engine->supports('server_tools'); | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 109 | 313 | for my $item (@$tools) { | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 110 | 344 | ▶ | next unless blessed($item) && $item->isa(__PACKAGE__); | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition100%3/3
builtin::blessed($item) and $item->isa(__PACKAGE__)
MC/DC100%2/2
builtin::blessed($item) and $item->isa(__PACKAGE__)
builtin::blessed($item)
$item->isa(__PACKAGE__)
Truth table100%3/3
A and B
A= builtin::blessed($item)B= $item->isa(__PACKAGE__)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 111 | 6 | croak "" . ( ref $engine ) . ": '" . $item->type . "' is a Langertha::ServerTool, " | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 112 | . "and this engine does not supports('server_tools')"; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 113 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 114 | 307 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 115 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 116 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 117 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 118 | 3 | ▶ | sub to_hash { | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
to_hash: called CC=2 SCAR=7.1
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 119 | 3 | my ($self) = @_; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 120 | return { | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 121 | wire => $self->wire, | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 122 | 3 | ▶ | spec => { %{ $self->spec } }, | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 123 | ( $self->unlisted ? ( unlisted => 1 ) : () ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 124 | }; | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 125 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| 126 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 127 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 128 | 1 | ▶ | sub TO_JSON { shift->to_hash } | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
TO_JSON: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 129 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 130 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 131 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 132 | 197 | __PACKAGE__->meta->make_immutable; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 133 | 197 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||||
| 134 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| 135 | __END__ | ||||||||||||||||||||||||||||||||||||||||||||||||||||