Simple demonstration of how to examine the syntax tree for a group of statements in the scope of a specific subroutine for purposes of analysis of a particular chunk of code.
To install PPIx::Refactor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PPIx::Refactor
CPAN shell
perl -MCPAN -e shell install PPIx::Refactor
For more information on module installation, please visit the detailed CPAN module installation guide.