This is a Perl library that I wrote (with some help from Jiro Nishiguchi) to support the launch of the Yahoo Mail and Photo APIs in 2007. It performs Yahoo's Browser-based authentication and then does a Mail or Photo API call.