[Aberdeen-pm] Quick perl fix needed

Gavin Henry ghenry at perl.me.uk
Fri Mar 10 14:37:05 PST 2006

<quote who="Mark McRitchie">
> Heyas,
> I need to convert a string in the form:
> <blah key=value key2=value2 ... keyX=valueX/>
> Into an associative array eg:
> arr(key)=value
> arr(key2)=value2

I think you mean a hash.

> Is there a quick way to do this? Yes its an XML string, but I want to do
> it without having to use any extra packages...

The quick way is to use a module, as many people have worked on the
various XML ones, hence are more accurate and bug free compared to what we
could write ;-)

> Cheers!
> Mark.
> _______________________________________________
> Aberdeen-pm mailing list
> Aberdeen-pm at pm.org
> http://mail.pm.org/mailman/listinfo/aberdeen-pm

More information about the Aberdeen-pm mailing list