Constants/V2_1_11.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Constants.pm ↑ Summary Constants/V3_1_1.pm »
1 package ZMQ::Constants::V2_1_11;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use Storable ();
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use ZMQ::Constants ();
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 my %not_in_v2 = (
7 ZMQ_MAXMSGSIZE => 22,
8 ZMQ_SNDHWM => 23,
9 ZMQ_RCVHWM => 24,
10 ZMQ_MULTICAST_HOPS => 25,
11 ZMQ_RCVTIMEO => 27,
12 ZMQ_SNDTIMEO => 28,
13 ZMQ_IPV4ONLY => 31,
14 ZMQ_LAST_ENDPOINT => 32,
15 ZMQ_MORE => 1,
16 ZMQ_DONTWAIT => 1,
17 ZMQ_FAIL_UNROUTABLE => 1,
18 );
19  
20 1 my $export_tags = Storable::dclone( \%ZMQ::Constants::EXPORT_TAGS );
21 $export_tags->{socket} = [
22 1 (grep { ! $not_in_v2{$_} } @{ $export_tags->{socket} }),
23 ];
24 1 $export_tags->{message} = [ qw(ZMQ_MAX_VSM_SIZE ZMQ_DELIMITER ZMQ_VSM ZMQ_MSG_MORE ZMQ_MSG_SHARED ZMQ_MSG_MASK) ];
25  
26 1 ZMQ::Constants::register_set(
27 '2.1.11' => (
28 tags => $export_tags
29 )
30 );
31  
32 1 1;
« Constants.pm ↑ Summary Constants/V3_1_1.pm »