in reply to Perl Parser to Handle Any File Format

You might search CPAN for parsers for XML, CSV, etc. Someone elses work can save you a mountain of time.

Otherwise (FWIW), I agree that router tables are the way to go.
  • Comment on Re: Perl Parser to Handle Any File Format