in reply to Retrieve YouTube video statistics

Personally, I like Web::Scraper for scraping data off a website, possibly together with WWW::Mechanize to navigate through the website.

Looking on CPAN, there also is WebService::Youtube, and WWW::Youtube, but you seem to need a developer key for the latter.