« Perl/Analysis/Static/Element/Declaration/Package.pm
↑ Summary
Perl/Analysis/Static/Element/Use.pm »
| 1 | package Perl::Analysis::Static::Element::Declaration::Variable; | ||
| 2 | { | ||
| 3 | 4 | $Perl::Analysis::Static::Element::Declaration::Variable::VERSION = '0.004'; # TRIAL | |
| 4 | } | ||
| 5 | # ABSTRACT: declaration of a variable | ||
| 6 | |||
| 7 | 4 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 4 | extends 'Perl::Analysis::Static::Element::Declaration'; | |
| 10 | |||
| 11 | 4 | has 'name' => ( is => 'rw', isa => 'Str' ); | |
| 12 | |||
| 13 | |||
| 14 | 0 | ▶ | sub stringify { |
|
Subroutine
stringify: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 15 | 0 | my ($self)=@_; | |
| 16 | |||
| 17 | 0 | return $self->from.': '.$self->name; | |
| 18 | } | ||
| 19 | |||
| 20 | |||
| 21 | 4 | 1; | |
| 22 | |||
| 23 | __END__ | ||