Padre::Task::PPI::LexicalReplaceVariable(3pm)

Padre::Task::PPI::LexicalReplaceVariable3pm

Lexically variable replace using ppi

Usage

  my $replacer = Padre::Task::PPI::LexicalReplaceVariable->new(
          document    => $document_obj,
          location    => [$line, $column], # the position of *any* occurrence of the variable
          replacement => '$foo',
  );
  $replacer->schedule();

Overview

Given a location in the document (line/column), determines the name of the variable at this position, finds where the variable was defined, and lexically replaces all occurrences with another variable.

Author

Steffen Mueller "[email protected]"

From padre 0.63.ds1-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.