in reply to parsing XMLish data

There is no excuse, go to Tutorials and read the XML::Parser Tutorial.

Otherwise, go to Why I like functional programming by tilly, and use his parser (the module in the thread) to build a custom one.

tillys code is a perfect example of why people shouldn't roll their own parser. It is a complete, and fairly complex one, and most people fail to cover all the bases.

Please do not try to roll your own if you wish to have a working solution very soon (unless you like doing things the hard way)

This has been a test of the emergency perl system, you must read pod now!

Replies are listed 'Best First'.
Re: Re: parsing XMLish data
by gav^ (Curate) on Feb 13, 2002 at 05:19 UTC
    You can't use XML::Parser to parse everything, especially stuff that isn't really XML like my data. For example running this code -- Re: Is a file XML? proves it.

    gav^