File Coverage

blib/lib/Net/OSCAR/ServerCallbacks/1/personal_info_request.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::ServerCallbacks;
2             BEGIN {
3 1     1   21 $Net::OSCAR::ServerCallbacks::VERSION = '1.928';
4             }
5 1     1   6 use strict;
  1         3  
  1         26  
6 1     1   5 use warnings;
  1         3  
  1         41  
7 1     1   5 use vars qw($SESSIONS $SCREENNAMES %COOKIES $screenname $connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data);
  1         2  
  1         173  
8             sub {
9              
10             $connection->proto_send(reqid => $reqid, protobit => "self_information", protodata => {
11             screenname => $screenname,
12             evil => 0,
13             flags => 0x20,
14             onsince => time(),
15             idle => 0,
16             session_length => 0,
17             ip => 0
18             });
19              
20             };
21