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

NAME

ppidump - Dump Perl code as PPI structure

SYNOPSIS

  ppidump                     #Read from STDIN
  ppidump MyModule.pm         #Read code from file
  ppidump 'my $foo = $bar;'   #Read code as from string
  ppidump -w 'foo( );'        #Show whitespace tokens

DESCRIPTION

This is a simple tool for helping to develop Perl::Critic::Policy modules. If you want to see how PPI would parse a snippet of code, just feed it to ppidump.

By default, whitespace tokens are hidden. Use the -w flag to show them.

AUTHOR

Jeffrey Ryan Thalhammer <thaljef@cpan.org>

COPYRIGHT

Copyright (c) 2005-2008 Jeffrey Ryan Thalhammer. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.