The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.57_01

  • DEPRECATIONS: search_replace(), replace(), inject() and inject_after() are now depricated (they will be replaced later). Some of this module will be broken out to a new module, and we'll *only* focus on subs in this one (as opposed to entire files).
  • certain deprications will be necessary after the rest of the module is rewritten to use PPI where it currently isn't
  • reworked _read_file(), it now populates $self->{params}{file_contents} from a PPI doc
  • _proc() modified to use PPI to get the sub code from the file, instead of extracting it out manually out of an array slice by counting line nums
  • $subs struct no longer has a copy of the entire file contents in each sub. This reduces the size of the data and all objects significantly

Modules

Get info about, search/replace and inject code into Perl files and subs.
Provides core engine callbacks for Devel::Examine::Subs
Provides core Pre-Filter callbacks for Devel::Examine::Subs
Provides core pre_proc callbacks for Devel::Examine::Subs

Provides

in lib/Devel/Examine/Subs/Sub.pm