Pod-Simple-Simpletree

Pod::Simple::SimpleTree(3p) Perl Programmers Reference Guide

Pod-Simple-Simpletree

Pod::Simple::SimpleTree(3p) Perl Programmers Reference Guide # Pod::Simple::SimpleTree(3p) Perl Programmers Reference Guide NNAAMMEE # Pod::Simple::SimpleTree -- parse Pod into a simple parse tree SSYYNNOOPPSSIISS # % cat ptest.pod =head1 PIE I like B<pie>! % perl -MPod::Simple::SimpleTree -MData::Dumper -e \ "print Dumper(Pod::Simple::SimpleTree->new->parse_file(shift)->root)" \ ptest.pod $VAR1 = [ # 'Document', { 'start_line' => 1 }, [ 'head1', { 'start_line' => 1 }, ‘PIE’ # ], [ 'Para', { 'start_line' => 3 }, 'I like ', [ ‘B’, # {}, 'pie' ], '! ...