On Tue, Feb 11, 2003 at 10:46:58AM -0800, Randal L. Schwartz wrote:
> >>>>> "Vlad" == Vlad Harchev <[EMAIL PROTECTED]> writes:
> 
> Vlad> I'm testing some perl source code transformation tool (kinda
> Vlad> perl source code prettifier).
> 
> If you'll allow me access to your source, I can guarantee you to be
> able to write some code that will break upon your transformation.
> 
> There's no way to perfectly parse Perl (thanks to prototypes).

Degenerative cases aside, a very good test of actual code anyone would 
use in production in real life for a Perl parsing attempt is
Test::More (since it has a few odd constructs and a good test suite), 
ExtUtils::MakeMaker and Test::Harness (both contain lots of old cruft 
and strange styles and decent test suites).

PPI (Parse Perl Isolated) does a very good job.

-- 

Reply via email to