TaskPipe/Tool.pm

filter: Statementstmt 55.2% 153 / 277 Branchbran 34.4% 20 / 58 Conditioncond 33.3% 3 / 9 MC/DCmcdc 16.6% 1 / 6 Subroutinesub 70.7% 29 / 41 Podpod 0.0% 0 / 16 totaltotal 50.6% 206 / 407 CC 39 SCAR 35.4
CC
39
Cov
51%
help
182.0
dispatch
20.0
print_intro
12.0
CRAP 34.5
« TaskPipe/Task_Record_NameValuePairs.pm ↑ Summary TaskPipe/Task_SeparateArray.pm »
1 package TaskPipe::Tool;
2  
3 42 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 42 ▶use TaskPipe::PathSettings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 42 ▶use TaskPipe::PathSettings::Global;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 42 ▶use TaskPipe::Tool::Options;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 42 ▶use TaskPipe::PodReader::Settings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 42 ▶use TaskPipe::PodReader;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 42 ▶use MooseX::ConfigCascade::Util;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 42 ▶use TaskPipe::LoggerManager;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 42 ▶use Log::Log4perl;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 42 ▶use File::Spec;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 42 ▶use Module::Runtime 'require_module';
Subroutine BEGIN: called CC=1 SCAR=0.0
14 42 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 42 ▶use Try::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 42 ▶use Pod::Term;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 42 ▶use Cwd 'abs_path';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 42 ▶use Term::ANSIColor 'colored';
Subroutine BEGIN: called CC=1 SCAR=0.0
19 42 ▶use POSIX qw(isatty);
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 42 with 'MooseX::ConfigCascade';
22  
23 42 our $VERSION = '0.06';
24  
25  
26 42 has cmd => (is => 'rw', isa => 'ArrayRef');
27  
28 has options => (is => 'rw', isa => 'TaskPipe::Tool::Options', lazy => 1, default => sub{
29 882 ▶ TaskPipe::Tool::Options->new;
Subroutine __ANON__: called CC=1 SCAR=0.0
30 42 });
31 has pod_reader => (is => 'ro', isa => 'TaskPipe::PodReader', lazy => 1, default => sub{
32 882 ▶ TaskPipe::PodReader->new;
Subroutine __ANON__: called CC=1 SCAR=0.0
33 42 });
34 has run_info => (is => 'rw', isa => 'TaskPipe::RunInfo', lazy => 1, default => sub{
35 882 ▶ TaskPipe::RunInfo->new;
Subroutine __ANON__: called CC=1 SCAR=0.0
36 42 });
37 has path_settings => (is => 'ro', isa => 'TaskPipe::PathSettings', lazy => 1, default => sub{
38 0 ▶ TaskPipe::PathSettings->new;
Subroutine __ANON__: not called CC=1 SCAR=6.9
39 42 });
40 42 has handler => (is => 'rw', isa => 'TaskPipe::Tool::Command');
41  
42  
43 sub get_cmd{
44 882 ▶ my ($self) = @_;
Subroutine get_cmd: called CC=3 SCAR=11.0
Pod undocumented
45  
46 882 my @orig = @ARGV;
47 882 $self->run_info->orig_cmd( \@orig );
48  
49 882 my @cmd = ();
50 882 ▶ while( $ARGV[0] && $ARGV[0] !~ /^\-/ ){
Branch: 1 branch
BranchTrueFalseTotal
if ($ARGV[0] and not $ARGV[0] =~ /^\-/) 1764 882 2646
Condition66%2/3
$ARGV[0] and not $ARGV[0] =~ /^\-/
!ll&&!rl&&r
08821764
MC/DC50%1/2
$ARGV[0] and not $ARGV[0] =~ /^\-/
$ARGV[0] not $ARGV[0] =~ /^\-/
Truth table66%2/3
A and not(B)
A= $ARGV[0]B= not $ARGV[0] =~ /^\-/
ABresult
0X0
100
111
51 1764 push @cmd, lc( +shift @ARGV );
52 }
53  
54 882 $self->run_info->cmd( \@cmd );
55 882 $self->options->get_args;
56 }
57  
58  
59 sub get_conf{
60 882 ▶ my ($self) = @_;
Subroutine get_conf: called CC=9 SCAR=24.1
Pod undocumented
61  
62 882 my $root_dir = $self->options->args->{root_dir};
63  
64 882 my $ps;
65
66  
67 882 ▶ if ( $root_dir ){
Branch: 1 branch
BranchTrueFalseTotal
if ($root_dir) { } 882 0 882
68  
69 882 $ps = TaskPipe::PathSettings->new(
70 scope => 'global',
71 root_dir => $root_dir
72 );
73  
74 } else {
75  
76 0 $ps = TaskPipe::PathSettings->new(
77 scope => 'global'
78 );
79  
80 try {
81  
82 0 ▶ $root_dir = $ps->root_dir;
Subroutine __ANON__: not called CC=1 SCAR=6.9
83
84 } catch {
85  
86 0 ▶ $self->pod_reader->message( qq|=pod\n\nFailed to retrieve the path to the taskpipe root directory from the file ${\$ps->home_filepath}. The following error was reported: $_\n\n|);
Subroutine __ANON__: not called CC=1 SCAR=6.9
87 0 exit;
88 0 };
89 }
90  
91 882 $self->run_info->root_dir( $root_dir );
92  
93 882 my %conf;
94  
95 882 foreach my $conf_type ( qw(system global) ){
96 1764 my $method = $conf_type.'_conf_filename';
97 1764 my $path = $ps->path('conf', $ps->global->$method );
98  
99 1764 ▶ if ( ! -f $path ){
Branch: 1 branch
BranchTrueFalseTotal
unless (-f $path) 0 1764 1764
100 0 print "path is really: $path\n";
101 0 $self->print_intro;
102 0 $self->print_setup_help;
103 0 exit;
104 }
105  
106 1764 $conf{$conf_type} = MooseX::ConfigCascade::Util->parser->( $path );
107 }
108 882 require_module( 'Hash::Merge' );
109 882 my $conf = Hash::Merge::merge( $conf{global}, $conf{"system"} );
110 882 MooseX::ConfigCascade::Util->conf( $conf );
111  
112 882 $self->pod_reader->settings( TaskPipe::PodReader::Settings->new );
113  
114  
115 882 $self->options->add_specs([{
116 module => 'TaskPipe::PathSettings::Global',
117 is_config => 1,
118 items => [
119 'root_dir',
120 'global_dir',
121 'global_conf_dir',
122 'global_conf_filename',
123 'system_conf_filename',
124 'project'
125 ]
126 }, {
127 module => 'TaskPipe::LoggerManager::Settings',
128 is_config => 1,
129 items => [
130 'log_mode',
131 'log_level',
132 'log_file_access',
133 'log_file_pattern',
134 'log_screen_pattern'
135 ]
136 }]);
137  
138 882 $self->options->load;
139 882 $ps = TaskPipe::PathSettings->new( scope => 'global' );
140  
141 882 my $global_lib_path = $ps->path('lib');
142  
143 882 ▶ confess "Could not find global lib dir. Looked in $global_lib_path" unless -d $global_lib_path;
Branch: 1 branch
BranchTrueFalseTotal
unless -d $global_lib_path 0 882 882
144 882 push @INC, $global_lib_path;
145
146 882 ▶ return unless $ps->global->project;
Branch: 1 branch
BranchTrueFalseTotal
unless $ps->global->project 0 882 882
147 882 $ps->scope('project');
148 882 my $project_conf_path = $ps->path('conf', $ps->filename('conf') );
149
150 882 ▶ return unless -f $project_conf_path;
Branch: 1 branch
BranchTrueFalseTotal
unless -f $project_conf_path 0 882 882
151  
152 882 require_module( 'Clone' );
153 882 my $global_conf = Clone::clone( +MooseX::ConfigCascade::Util->conf );
154 882 my $project_conf = MooseX::ConfigCascade::Util->parser->( $project_conf_path );
155  
156 882 $conf = Hash::Merge::merge( $project_conf, $global_conf );
157 882 MooseX::ConfigCascade::Util->conf( $conf );
158  
159 882 my $path_settings = TaskPipe::PathSettings->new( project_name => $ps->global->project );
160 882 my $lib_dir = $path_settings->path('lib');
161  
162 882 ▶ return unless $lib_dir && -d $lib_dir;
Branch: 1 branch
BranchTrueFalseTotal
unless $lib_dir and -d $lib_dir 0 882 882
Condition33%1/3
$lib_dir and -d $lib_dir
!ll&&!rl&&r
00882
MC/DC0%0/2
$lib_dir and -d $lib_dir
$lib_dir -d $lib_dir
Truth table33%1/3
A and B
A= $lib_dirB= -d $lib_dir
ABresult
0X0
100
111
163  
164 882 push @INC, $lib_dir;
165  
166 }
167  
168  
169  
170 sub print_intro{
171 0 ▶ my ($self) = @_;
Subroutine print_intro: not called CC=3 SCAR=24.8
Pod undocumented
172  
173 0 my $max_cols = 76;
174  
175 0 my $items = [{
176 text => "TaskPipe Utility v".$VERSION,
177 color => 'bright_white'
178 }, {
179 text => "Tom Gracey (c) Virtual Blue LTD 2018",
180 color => 'bright_magenta'
181 }];
182  
183 0 print "\n";
184 0 foreach my $item (@$items){
185 0 my $spaces = int( 0.5 * ( $max_cols - length( $item->{text} ) ) );
186  
187 0 my $text;
188 0 ▶ if ( isatty(*STDOUT) ){
Branch: 1 branch
BranchTrueFalseTotal
if (isatty(*STDOUT)) { } 0 0 0
189 0 $text = colored( $item->{text}, $item->{color} );
190 } else {
191 $text = $item->{text}
192 0 }
193  
194 0 print ' ' x $spaces;
195 0 print $text."\n";
196 }
197  
198 0 print "\n";
199 }
200  
201  
202 sub print_setup_help{
203 0 ▶ my ($self) = @_;
Subroutine print_setup_help: not called CC=1 SCAR=6.9
Pod undocumented
204  
205 0 require_module( 'File::Save::Home' );
206 0 my $home_dir = File::Save::Home::get_home_directory();
207 0 my $suggested_global_root = File::Spec->catdir( $home_dir, 'taskpipe' );
208 0 my $ps = TaskPipe::PathSettings->new( scope => 'global' );
209  
210 0 my $message = qq|B<STOP!>
211  
212 I couldn't find a path to one or more of the global configuration files. These files are named: |;
213  
214 0 $message.="\n\n ".$ps->global->global_conf_filename;
215 0 $message.="\n\n ".$ps->global->system_conf_filename;
216 0 $message.="\n\nI looked in the following directory:";
217 0 $message.="\n\n ".$ps->path('conf');
218  
219 0 $self->pod_reader->message( $message );
220  
221 }
222  
223  
224  
225  
226  
227  
228  
229 sub dispatch{
230 0 ▶ my $self = shift;
Subroutine dispatch: not called CC=4 SCAR=30.0
Pod undocumented
231  
232 0 $self->options->add_specs([{
233 module => 'TaskPipe::JobManager::Settings',
234 is_config => 1
235 }]);
236  
237 0 $self->get_cmd;
238 0 my $cmd = lc($self->run_info->cmd->[0]);
239 0 ▶ $self->get_conf unless $cmd eq 'setup';
Branch: 1 branch
BranchTrueFalseTotal
unless $cmd eq "setup" 0 0 0
240  
241 0 ▶ if ( ! @{$self->run_info->cmd} || $cmd eq 'help' ){
Branch: 1 branch
BranchTrueFalseTotal
if (not @{$self->run_info->cmd;} or $cmd eq 'help') { } 0 0 0
Condition0%0/3
not @{$self->run_info->cmd;} or $cmd eq "help"
l!l&&r!l&&!r
000
MC/DC0%0/2
not @{$self->run_info->cmd;} or $cmd eq "help"
not @{$self->run_info->cmd;} $cmd eq "help"
Truth table0%0/3
not(A) or B
A= not @{$self->run_info->cmd;}B= $cmd eq "help"
ABresult
1X1
011
000
242  
243 0 $self->help;
244  
245 # TODO:
246 # } elsif( $cmd eq 'options' ){
247 #
248 # $self->options;
249 #
250 } else {
251  
252 0 $self->run_cmd;
253  
254 }
255 }
256  
257  
258  
259 sub init_logger{
260 882 ▶ my ($self,$job_id) = @_;
Subroutine init_logger: called CC=1 SCAR=0.0
Pod undocumented
261  
262 882 my $lm = TaskPipe::LoggerManager->new;
263 882 $lm->init_logger;
264 }
265  
266  
267 sub prep_run_cmd{
268 882 ▶ my ($self) = @_;
Subroutine prep_run_cmd: called CC=2 SCAR=6.9
Pod undocumented
269  
270 882 $self->init_logger;
271 882 my $module = $self->require_handler( @{$self->run_info->cmd} );
272 882 my $handler = $module->new;
273  
274 882 ▶ if ( $handler->can('option_specs') ){
Branch: 1 branch
BranchTrueFalseTotal
if ($handler->can("option_specs")) 882 0 882
275  
276 882 $self->options->add_specs( $handler->option_specs );
277  
278 }
279  
280 882 $self->options->load;
281  
282 882 $handler = $module->new;
283 882 $self->handler( $handler );
284  
285 }
286  
287  
288 sub exec_run_cmd{
289 567 ▶ my ($self) = @_;
Subroutine exec_run_cmd: called CC=1 SCAR=0.0
Pod undocumented
290  
291 567 $self->options->check_unused_args;
292 567 $self->handler->job_manager->init_job;
293 567 $self->handler->execute;
294 564 $self->handler->job_manager->end_job;
295  
296 }
297  
298  
299  
300  
301 sub run_cmd{
302 0 ▶ my $self = shift;
Subroutine run_cmd: not called CC=1 SCAR=6.9
Pod undocumented
303  
304 0 $self->prep_run_cmd;
305 0 $self->exec_run_cmd;
306  
307 }
308  
309  
310  
311 sub require_handler{
312 882 ▶ my ($self,@cmd) = @_;
Subroutine require_handler: called CC=3 SCAR=11.1
Pod undocumented
313  
314 882 ▶ confess "Need a command" unless @cmd;
Branch: 1 branch
BranchTrueFalseTotal
unless @cmd 0 882 882
315  
316 882 my @filenames = @{$self->list_of_command_filenames};
317  
318 882 require_module( 'String::CamelCase' );
319 882 my $frag = String::CamelCase::camelize(join('_',@cmd));
320 882 my ($filename) = grep{ $_ =~ /_$frag\.pm$/ } @filenames;
321  
322 882 ▶ confess "Could not find a handler for command '@cmd'" unless $filename;
Branch: 1 branch
BranchTrueFalseTotal
unless $filename 0 882 882
323 882 my $module = $self->command_filename_to_module( $filename );
324  
325 try {
326  
327 882 ▶ require_module( $module );
Subroutine __ANON__: called CC=1 SCAR=0.0
328  
329 } catch {
330  
331 0 ▶ confess "Handler for command '@cmd' ($module) appears to be broken: $_";
Subroutine __ANON__: not called CC=1 SCAR=6.9
332  
333 882 };
334  
335 882 return $module;
336 }
337  
338  
339  
340 sub help{
341 0 ▶ my $self = shift;
Subroutine help: not called CC=13 SCAR=52.0
Pod undocumented
342  
343 0 my @cmd = @{$self->run_info->cmd};
344  
345 0 $self->print_intro;
346  
347 0 ▶ if ( @cmd <= 1 ){
Branch: 1 branch
BranchTrueFalseTotal
if (@cmd <= 1) 0 0 0
348  
349 0 my $pod = $self->tool_pod;
350 0 $pod.="\n\n=head1 AVAILABLE COMMANDS\n\n";
351  
352 0 foreach my $li (@{$self->available_commands_list}){
353 0 $pod.="\n\n=head2 ".$li->{cmd}."\n\n".$li->{description};
354 }
355  
356 0 $self->pod_reader->message( $pod );
357 0 return;
358  
359 }
360  
361 0 my $module = $self->require_handler(@cmd[1..$#cmd]);
362 0 my $handler = $module->new;
363  
364 0 ▶ if ( $handler->can('option_specs') ){
Branch: 1 branch
BranchTrueFalseTotal
if ($handler->can("option_specs")) 0 0 0
365  
366 0 $self->options->add_specs( $handler->option_specs );
367  
368 }
369  
370  
371  
372 0 my $print_pod = "=head1 USAGE\n\n taskpipe @cmd[1..$#cmd] <options>\n\nOptions are in B<long> format (space separated and preceded by double dash, e.g. C<--option=value>). See list below for available options\n\n";
373  
374  
375 0 foreach my $head1 ( $self->get_pod( $module )->head1 ){
376 0 ▶ $print_pod.="\n$head1\n" if $head1->title =~ /^(purpose|description)$/i;
Branch: 1 branch
BranchTrueFalseTotal
if $head1->title =~ /^(purpose|description)$/i 0 0 0
377 }
378  
379  
380 0 my $opt_pod = '';
381 0 foreach my $option_name ( sort keys %{$self->options->specs} ){
382 0 my $v = $self->options->specs->{$option_name};
383  
384 0 $opt_pod.="=item --".$v->{pod}->title()."\n\n";
385 0 $opt_pod.=$v->{pod}->content()."\n\n";
386 0 chomp( $opt_pod );
387  
388 0 ▶ if ( $v->{module} ){
Branch: 1 branch
BranchTrueFalseTotal
if ($v->{"module"}) 0 0 0
389  
390 0 my $mod_details = '';
391 0 ▶ $mod_details.="\n\n=item *\n\nCan be set in config section \"".$v->{module}.qq|"| if $v->{is_config};
Branch: 1 branch
BranchTrueFalseTotal
if $v->{"is_config"} 0 0 0
392  
393 0 ▶ if ( $v->{default} ){
Branch: 1 branch
BranchTrueFalseTotal
if ($v->{"default"}) 0 0 0
394 0 $Data::Dumper::Terse = 1;
395 0 my $default = '"'.$v->{default}.'"';
396 0 ▶ $default = Dumper( $v->{default} ) if ref $v->{default};
Branch: 1 branch
BranchTrueFalseTotal
if ref $v->{"default"} 0 0 0
397 0 $mod_details.="\n\n=item *\n\nDefaults to $default if not declared ";
398 0 ▶ $mod_details.="in config or " if $v->{is_config};
Branch: 1 branch
BranchTrueFalseTotal
if $v->{"is_config"} 0 0 0
399 0 $mod_details.="on command line";
400 }
401
402 0 ▶ $opt_pod.= "\n\n=over$mod_details\n\n=back" if $mod_details;
Branch: 1 branch
BranchTrueFalseTotal
if $mod_details 0 0 0
403
404 }
405 0 $opt_pod.="\n\n";
406  
407 }
408
409 0 $self->pod_reader->message( $print_pod."\n=head1 OPTIONS\n\n=over\n\n$opt_pod\n\n=back\n\n" );
410
411 }
412
413  
414  
415 sub list_of_command_filenames{
416 882 ▶ my ($self) = @_;
Subroutine list_of_command_filenames: called CC=6 SCAR=17.9
Pod undocumented
417  
418 882 my $path = abs_path( __FILE__ );
419 882 $path =~ s/\.pm$//;
420  
421 882 ▶ opendir my $dh, $path or confess "Could not open '$path' for reading: $!";
Branch: 1 branch
BranchTrueFalseTotal
opendir my $dh, $path or confess("Could not open '${path}' for reading: $!") 0 882 882
422  
423 882 my $list = [];
424 882 ▶ while( my $filename = readdir $dh ){
Branch: 1 branch
BranchTrueFalseTotal
if (defined(my $filename = readdir $dh)) 14112 882 14994
425 14112 ▶ next if $filename =~ m/^\./;
Branch: 1 branch
BranchTrueFalseTotal
if $filename =~ /^\./ 1764 12348 14112
426 12348 ▶ next if $filename !~ /^Command_/;
Branch: 1 branch
BranchTrueFalseTotal
unless $filename =~ /^Command_/ 1764 10584 12348
427 10584 ▶ next if $filename =~ /__[^_]+\.pm$/;
Branch: 1 branch
BranchTrueFalseTotal
if $filename =~ /__[^_]+\.pm$/ 882 9702 10584
428 9702 push @$list, $filename
429 }
430 882 return $list;
431 }
432  
433  
434  
435 sub available_commands_list{
436 0 ▶ my ($self) = @_;
Subroutine available_commands_list: not called CC=3 SCAR=24.8
Pod undocumented
437  
438 0 my @filenames = @{$self->list_of_command_filenames};
439  
440 0 my $delim = File::Spec->catdir('');
441  
442 0 my $list = [];
443 0 require_module( 'String::CamelCase' );
444  
445 0 foreach my $filename (@filenames){
446  
447 0 my $command = $filename;
448 0 $command =~ s{^Command_}{};
449 0 $command =~ s{^_[A-Za-z0-9]+}{};
450 0 $command =~ s{\.pm$}{};
451 0 $command =~ s{^\w_}{};
452  
453 0 my @cmd = map {lc} String::CamelCase::wordsplit($command);
454
455 0 my $module = $self->command_filename_to_module( $filename );
456  
457 0 my $pod = $self->get_pod( $module );
458 0 my $section = 'PURPOSE';
459 0 my ($head1) = grep { $_->title eq $section } $pod->head1;
460  
461 0 my $cmd_str = join(' ',@cmd);
462 0 ▶ my $desc = $head1?$head1->content:'';
Branch: 1 branch
BranchTrueFalseTotal
$head1 ? : 0 0 0
463  
464 0 my $li = {
465 cmd => $cmd_str,
466 description => $desc
467 };
468 0 push @$list, $li;
469 }
470 0 return $list;
471 }
472  
473  
474 sub command_filename_to_module{
475 882 ▶ my ($self,$filename) = @_;
Subroutine command_filename_to_module: called CC=1 SCAR=0.0
Pod undocumented
476  
477 882 my $module = __PACKAGE__.'::'.$filename;
478 882 $module =~ s/\.pm$//;
479  
480 882 return $module;
481 }
482  
483
484
485 sub get_pod{
486  
487 0 ▶ my ($self,$module) = @_;
Subroutine get_pod: not called CC=2 SCAR=17.9
Pod undocumented
488  
489 0 ▶ confess "Need a module name" unless $module;
Branch: 1 branch
BranchTrueFalseTotal
unless $module 0 0 0
490  
491 0 my $parser = Pod::POM->new;
492  
493 0 require_module( $module );
494  
495 0 my $filename = $module;
496 0 my $delim = File::Spec->catdir('');
497 0 $filename=~ s{::}{$delim}g;
498 0 $filename.='.pm';
499  
500 0 my $path = abs_path( $INC{ $filename } );
501 0 my $pod = $parser->parse_file( $path );
502  
503 0 return $pod;
504 }
505
506  
507 sub tool_pod{
508 0 ▶ my ($self) = @_;
Subroutine tool_pod: not called CC=1 SCAR=6.9
Pod undocumented
509  
510 0 return qq|=head1 TaskPipe Command Line Utility
511  
512 Welcome to TaskPipe! TaskPipe is a task-management framework for building scrapers and crawlers.
513  
514 For more general information about TaskPipe see L<TaskPipe::Manual::Overview>.
515  
516 A list of available commands is given below. For more detailed information about a specific command, type
517  
518 taskpipe help <command>
519  
520 For example
521  
522 taskpipe help setup
523  
524 |;
525  
526 }
527  
528 =head1 NAME
529  
530 TaskPipe::Tool - the base class for the TaskPipe command line tool
531  
532 =head1 DESCRIPTION
533  
534 This class houses the operations needed by the L<taskpipe> script. It is not recommended to use this package directly. See the manpage for L<TaskPipe::Tool::Command> for information on creating a new taskpipe command.
535  
536 =head1 AUTHOR
537  
538 Tom Gracey <tomgracey@gmail.com>
539  
540 =head1 COPYRIGHT AND LICENSE
541  
542 Copyright (c) Tom Gracey 2018
543  
544 TaskPipe is free software, licensed under
545  
546 The GNU Public License Version 3
547  
548 =cut
549  
550 42 __PACKAGE__->meta->make_immutable;
551 42 1;
552  
553  
554  
555  
556
« TaskPipe/Task_Record_NameValuePairs.pm ↑ Summary TaskPipe/Task_SeparateArray.pm »