From: "Dermot Paikkos" <[EMAIL PROTECTED]>
> I am trying to parse the data out of am XML file. The file is below.
> Most of the data is easily grabbed but the keywords stretch over
> several newlines and there can anywhere between 0 and 20 entries. I
> have tried using /m and /s but these don't seem to work. I have set
> $/="<image>", I don't know if this is impacting on my attempts. But
> changing it does help either.

It's better to use one of the modules available in CPAN than to try 
to parse XML yourself.

If the XML file is not toooo big I'd recommend XML::Simple. It's 
really simple.

Jenda


=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
                                        --- me


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to