From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more
12345678910111213141516171819 package Javonet::Sdk::Internal::ConnectionType;use strict;use warnings FATAL => 'all';use Moose;my %connection_type = ( 'InMemory' => 0, 'Tcp' => 1, 'WithConfig' => 2,);sub get_connection_type { my $type = shift; return $connection_type{$type};}no Moose;1;
package
Javonet::Sdk::Internal::ConnectionType;
use
strict;
warnings
FATAL
=>
'all'
;
Moose;
my
%connection_type
= (
'InMemory'
=> 0,
'Tcp'
=> 1,
'WithConfig'
=> 2,
);
sub
get_connection_type {
$type
=
shift
return
$connection_type
{
};
}
no
1;