| 1 | package Perl::Analysis::Static::Question::Lexical::Name; | ||
| 2 | { | ||
| 3 | 1 | $Perl::Analysis::Static::Question::Lexical::Name::VERSION = '0.004'; # TRIAL | |
| 4 | } | ||
| 5 | # ABSTRACT: Does the name of the lexical variable equal this string? | ||
| 6 | |||
| 7 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | extends 'Perl::Analysis::Static::Question'; | |
| 10 | |||
| 11 | 1 | ▶ | sub set_arguments { |
|
Subroutine
set_arguments: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 12 | 1 | my ( $self, $arguments ) = @_; | |
| 13 | 1 | $self->class('Perl::Analysis::Static::Element::Declaration::Variable'); | |
| 14 | 1 | $self->filter( ['Name'] ); | |
| 15 | 1 | $self->arguments( [ split( /:/, $arguments ) ] ); | |
| 16 | } | ||
| 17 | |||
| 18 | 1 | 1; | |
| 19 | |||
| 20 | __END__ | ||