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

I have looked at the PPI modul allready, but I think I have to parse the result of PPI to get the thinks that I want. So I need double parsing and it would be slower than one RD run. Also PPI seems a bit to accurate for me.

Andre
  • Comment on Re^2: Speeding up RecDesent parser for Perl Code

Replies are listed 'Best First'.
Re^3: Speeding up RecDesent parser for Perl Code
by adamk (Chaplain) on Sep 05, 2006 at 11:06 UTC
    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');