Acme-PPIx-MetaSyntactic
view release on metacpan or search on metacpan
HashRef where the keys are the names of subs which are considered
locally defined (i.e. not Perl built-ins, and not imported) and thus
available for relabelling. Values are expected to all be "1".
Can be coerced from `ArrayRef[Str]`.
Defaults to a list built by scanning the `document` with PPI.
`names`
HashRef mapping old names to new names. This will be populated by the
relabelling process, but you may supply some initial values.
Defaults to empty hashref.
`already_used`
HashRef keeping track of names already used in remapping, to avoid
renaming two variables the same thing.
Defaults to a hashref populated from `names`.
This attribute cannot be provided to the constructor.
lib/Acme/PPIx/MetaSyntactic.pm view on Meta::CPAN
defined (i.e. not Perl built-ins, and not imported) and thus available for
relabelling. Values are expected to all be C<< "1" >>.
Can be coerced from C<< ArrayRef[Str] >>.
Defaults to a list built by scanning the C<document> with PPI.
=item C<< names >>
HashRef mapping old names to new names. This will be populated by the
relabelling process, but you may supply some initial values.
Defaults to empty hashref.
=item C<< already_used >>
HashRef keeping track of names already used in remapping, to avoid renaming
two variables the same thing.
Defaults to a hashref populated from C<names>.
( run in 0.239 second using v1.01-cache-2.11-cpan-8d75d55dd25 )