Tag Archives: scripts
pearl

Fun with Perl: topbiz.pl

#!C:/Perl/bin/perl # Dom Virgilio # Grab top business stories from Yahoo RSS feed # Notes:  perl topbiz.pl # turn on perl’s safety features use strict; use warnings; my $pathname = “http://rss.news.yahoo.com/rss/business”; use XML::RSS; use LWP::Simple; my $rss = new XML::RSS; my $url2parse = get($pathname) or die “Unable to access Yahoo RSS feed.”; $rss->parse($url2parse); # Print [...]

Read more

Follow

Get every new post delivered to your Inbox.