---
name: "Devel::REPL::Plugin::PPI"
section: "3pm"
platform: "linux"
package: "libdevel-repl-perl"
version: "1.003029-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Devel::REPL::Plugin::PPI"
---

# Devel::REPL::Plugin::PPI(3pm)

PPI dumping of Perl code

## NAME

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

## VERSION

version 1.003029

## 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 `"_"`.

## SUPPORT

Bugs may be submitted through the RT bug tracker \<https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-REPL\> (or bug-Devel-REPL@rt.cpan.org \<mailto:bug-Devel-REPL@rt.cpan.org\>).

There is also an irc channel available for users of this distribution, at `"#devel"` on `"irc.perl.org"` \<irc://irc.perl.org/#devel-repl\>.

## AUTHOR

Shawn M Moore \<sartak@gmail.com\>

## COPYRIGHT AND LICENCE

This software is copyright (c) 2007 by Matt S Trout - mst (at) shadowcatsystems.co.uk (\<http://www.shadowcatsystems.co.uk/\>).

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
