Devel/IPerl/Message/Helper.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
kernel_status
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Devel::IPerl::Message::Helper;
2 $Devel::IPerl::Message::Helper::VERSION = '0.012';
3 use strict;
4 use warnings;
5  
6 sub kernel_status {
7 my ($self, $msg, $status) = @_;
8 $msg->new_reply_to(
9 msg_type => 'status',
10 content => {
11 execution_state => $status,
12 },
13 );
14  
15 }
16  
17 1;
18  
19 __END__