On Sunday, with a hundred better things to do but no incentive to do them, I put together an Apple TV plug-in that allows you to run any Perl script you place into a folder in your home directory. (/Users/frontrow/perlbin). The idea is this: a lot of people know how to write Perl who don’t want to learn to program Cocoa. And you can add new scripts from your normal office work computer (via ssh) but have them all available from Apple TV. You can do date & time, calendars, stock quotes, weather, and so forth. Scrape web pages, subscribe to RSS feeds, whatever.

The plug-in is here, and here are a few screen shots showing the plug-in in action. You can click each thumbnail to view the shots at full resolution.

http://www.oreillynet.com/mac/blog/images/PerlAppliance1scaled.jpg

The Perl plug-in in the main menu.

http://www.oreillynet.com/mac/blog/images/PerlAppliance2scaled.jpg

The submenu shows all files in /Users/frontrow/perlbin

http://www.oreillynet.com/mac/blog/images/PerlAppliance4scaled.jpg

Perl scripts, which are easy to create, can perform simple tasks like checking the date and time while displaying them in the Apple TV interface.

http://www.oreillynet.com/mac/blog/images/PerlAppliance7scaled.jpg

More complicated scripts can scrape webpages to gather information like this up-to-the-minute weather report.