Skip to content

Instantly share code, notes, and snippets.

@karronoli
Created May 18, 2012 17:17
Show Gist options
  • Save karronoli/2726512 to your computer and use it in GitHub Desktop.
Save karronoli/2726512 to your computer and use it in GitHub Desktop.
Hello PPI for POD
use strict;
use warnings;
use utf8;
=DESCRIPTION
あいうえお
=cut
use Data::Dumper;
use PPI::Document;
my $Document = PPI::Document->new(__FILE__);
my $nodes = $Document->find('PPI::Token::Pod');
=head1 Dumper
ほげ
=over
=item * アイテム
=back
=cut
print Dumper $nodes;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment