Daniel,

I was able to utilize the suggestions from the others.  I will also take a look at XML::Simple.

 

Thanks,

David

 


From: Daniel McBrearty [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 04, 2006 4:33 PM
To: Hsu, David
Cc: [email protected]
Subject: Re: RE help

 

looks to me like you are reinventing the wheel here ...

this is XML, right?

there are numerous XML parsers on CPAN. Try XML::Simple ....

something like this should do it:

ue XML::Simple;

my $x = XMLin($string);

now all your info should be a complex data structure under the ref $x.

Try it, maybe use Data::Dumper to see what the data structure looks like, then get your data out by navigating the structure.

( of course, you have to install XML::Simple first ... I assume it's on ActiveState ...)

--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to