File Coverage

blib/lib/Net/OSCAR/Callbacks/1/server_ready.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 14 100.0


line stmt bran cond sub pod time code
1             package Net::OSCAR::Callbacks;
2             BEGIN {
3 1     1   44 $Net::OSCAR::Callbacks::VERSION = '1.928';
4             }
5 1     1   18 use strict;
  1         3  
  1         57  
6 1     1   8 use warnings;
  1         3  
  1         61  
7 1     1   7 use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data);
  1         3  
  1         316  
8             sub {
9              
10             $connection->{families} = { map { $_ => 1 } @{$data{families}} };
11             send_versions($connection, 0);
12             $connection->proto_send(protobit => "rate_info_request", nopause => 1);
13              
14             };