Karen Etheridge > Devel-REPL > Devel::REPL::Plugin::PPI

Download:
Devel-REPL-1.003026.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  16
Stalled  2
View/Report Bugs
Module Version: 1.003026   Source  

NAME ^

Devel::REPL::Plugin::PPI - PPI dumping of Perl code

VERSION ^

version 1.003026

SYNOPSIS ^

  repl> #ppi Devel::REPL
  PPI::Document
    PPI::Statement
      PPI::Token::Word    'Devel::REPL'

  repl> #ppi {
  > warn $];
  > }
  PPI::Document
    PPI::Statement::Compound
      PPI::Structure::Block       { ... }
        PPI::Token::Whitespace    '\n'
        PPI::Statement
          PPI::Token::Word        'warn'
          PPI::Token::Whitespace          ' '
          PPI::Token::Magic       '$]'
          PPI::Token::Structure   ';'
        PPI::Token::Whitespace    '\n'

DESCRIPTION ^

This plugin provides a ppi command that uses PPI::Dumper to dump PPI-parsed Perl documents.

The code is not actually executed, which means that when used with Deve::REPL::Plugin::OutputCache there is no new value in _.

AUTHOR ^

Shawn M Moore <sartak@gmail.com>

syntax highlighting: