use strict; use LWP::Simple; my $content = get('http://perlmonks.org/headlines.rdf') or die; $content =~ s/<\/?RDF>//g; print $content;