Hi

I have been trying to get my perl to work with an xml doc (about 2 hours new to xml).
I basically just want all the <title>elements


would anyone be so kind as too share a link of doc etc as how I can takle this.

Kind Regards and thanks in advance
Brent Clark

=====================================================
my $file = get("http://currencysource.com/RSS/ZAR.xml";);

foreach my $element ($file){
        if ($element =~ /title/i){
        print "$element<BR>";
        }
}

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to