blib/lib/Zed/Plugin/Host/Use.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Zed::Plugin::Host::Use;
2 use strict;
3  
4 use Zed::Config::Space;
5 use Zed::Output;
6 use Zed::Plugin;
7  
8 =head1 SYNOPSIS
9  
10 Specify a Space used by Exe plugin
11 ex:
12 use
13 use list
14  
15 =cut
16  
17 invoke "use" => sub {
18 my $use = usespace( shift );
19 my @host = space($use);
20 info("use space: ", $use ? $use."[".scalar @host."]" : "undef");
21  
22 }, sub{ keys space() };
23  
24 1