in reply to Re^2: Speeding up RecDesent parser for Perl Code
in thread Speeding up RecDesent parser for Perl Code

PPI spits out an object tree, so it's not a case of parse, rather
my @packages = PPI::Document->new('filename.pm') ->find('PPI::Statement::Package');