« /home/cpancover/.cpan/build/Makefile-Parser-0.215-0/script/makesimple
↑ Summary
blib/lib/Makefile/AST/Rule/Base.pm »
| 1 | package Makefile::AST::Command; | ||||||||||
| 2 | |||||||||||
| 3 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 2 | ▶ | use base 'Class::Accessor::Fast'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | #use Smart::Comments; | ||||||||||
| 8 | |||||||||||
| 9 | 2 | __PACKAGE__->mk_accessors(qw{ | |||||||||
| 10 | silent tolerant critical content target | ||||||||||
| 11 | }); | ||||||||||
| 12 | |||||||||||
| 13 | sub as_str { | ||||||||||
| 14 | 0 | ▶ | my $self = shift; | ||||||||
|
Subroutine
as_str: not called CC=4 SCAR=30.0
Pod
undocumented
| |||||||||||
| 15 | 0 | my $str; | |||||||||
| 16 | 0 | ▶ | if ($self->silent) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | 0 | $str .= '@'; | |||||||||
| 18 | } | ||||||||||
| 19 | 0 | ▶ | if ($self->tolerant) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | 0 | $str .= '-'; | |||||||||
| 21 | } | ||||||||||
| 22 | 0 | ▶ | if ($self->critical) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | 0 | $str .= '+'; | |||||||||
| 24 | } | ||||||||||
| 25 | 0 | $str .= $self->content; | |||||||||
| 26 | } | ||||||||||
| 27 | |||||||||||
| 28 | 2 | 1; | |||||||||
| 29 | |||||||||||