Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

How can i used an xml as string in perl?

 
Rajeshwar Sharma
Occasional Contributor

How can i used an xml as string in perl?

How i use xml as a string parameter in perl?
I have this xml:
test1 this is testing on client
I wanted it to use as string in perl.
Can anyone tell me how can i used it ?

Thanks in advance.
1 REPLY 1
H.Merijn Brand (procura
Honored Contributor

Re: How can i used an xml as string in perl?

There are several XML parsing modules on CPAN. Choosing the `right' one is based on what you want to do with it.

XML::Parser and XML::Parser::Lite are the first two that spring to mind in making XML structured dat available to perl.

You can `add' the functionality by installing the module

$ cpan XML::Parser::Lite

and follow the instructions

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn