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

Not to deprecate merlyn's excellent advice, but if you purely want to reduce the number of lines in the module to make it a bit easier to deal with, why not just cut the file into 5 or so separate files and include them all in the one master file.

Hardly the "good design", but it might be a way to start. You could make the separate files contain conceptually separate code (even though to the compiler there would be no difference). These files could then be the basis for some real refactoring later.

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