Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

beretboy's scratchpad

by beretboy (Chaplain)
on Jun 04, 2004 at 18:05 UTC ( [id://361046] : scratchpad . print w/replies, xml ) Need Help??

I'm trying to request the following URL. I'm getting a Shoutcast "resource requested was not found" message.
#!/usr/bin/perl use strict; use LWP; use LWP::UserAgent; my $browser = LWP::UserAgent->new(); $browser->credentials( '', 'Shoutcast Server', 'user' => 'pass' ); my $response = $browser->get(' +viewxml'); my $xml = $response->decoded_content; print $xml;