Tue, 2009-10-13 22:35

Okay, so I'm trying to write a little script to check TCM's schedule a couple times a month and let me know if there is anything on it that I might want to check out.

I looked into doing this with Perl, and I found the LWP and LWP::Simple module, but it seems not to work as advertised.

For instance, this:

>perl -MLWP::Simple -e 'getprint ""'

is supposed to return the source of the index file at Instead, it returns nothing.

Now I know things are actually working pretty well, since it I do the same with a text file (rather than an html file) like this:

>perl _MLWP::Simple -e 'getprint ""'

it spews that text file all over standard out.

I'm stumped.

schedule watcher perl script?

Sun, 2009-10-04 22:16

I watch a lot of movies on TCM (Turner Classic Movies). I love a lot of movies from the 30s and 40s, and there are lots on TCM. Often, I run across an actor, actress or director of whom I would like to see more. It would be awesome if I had a way to automatically be informed when movies by certain persons (or particular movies I know I'd like to see) are coming up.

TCM has a nice schedule page, updated each month, here. It ought to be simple to write a little perl script to grab this page and search it for names in a file I would maintain. I could have the script run automatically once a month, and somehow let me know the results (email?).

That sounds like a fun little project. I've never written any code that grabs stuff off the web, though I know people do it all the time, so how hard could it be?