XML::Simple doesn't work from a URL-- it doesn't know how to find something on the web by itself. You need to use something like LWP to get the web page first and put it in a string or file, then do your stuff with XML::Simple
One word of warning, is that unless you know the XML is well formed, you might be happier using an HTML processor, like HTML::Treebuilder or HTML::TokeParser. XML parsers are supposed to die horribly if they get something that's badly formed, but the HTML parsers are usually more forgiving.
In reply to Re: how do i parse xml webpage in perl
by bitingduck
in thread how do i parse xml webpage in perl
by mipatel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |