Simon Wistow <[EMAIL PROTECTED]> writes: > On Sat, Feb 09, 2002 at 07:01:26PM +0000, Dave Hodgkinson said: > > > > OK, So I've for the XML back from Amazon. It's trivial. What's the > > best trivial XML module to use to parse it and build a perl structure? > > DOH! I meant to get in touch with you about this. How did it go? What > sort of access have they given you and are they going to make it > publicly accessible?
Well, beta, yes. In that order. I got it down to a two-liner: my $feed = get($q) ; # get the data my $ref = XMLin($feed)->{product}; # now create the structure Thanks abw for the second line ;-) $q is the magic part: But yes, it's fine. -- Dave Hodgkinson, Wizard for Hire http://www.davehodgkinson.com Editor-in-chief, The Highway Star http://www.deep-purple.com Interim Technical Director, Web Architecture Consultant for hire