New Perl Module: Calculate Google Tiles
USNaviguide has just released a new Perl module (USNaviguide_Google_Tiles.pm) that calculates just about everything you'd want to know about tiles including:
Tile name for a coordinate (lat,lng)
Tile name for a pixel location (x,y)
Tiles for a bounding box of coordinates and zoom
Bounding box for a tile in coordinates
Bounding box for a tile in pixel locations
Coordinates to pixel
Pixel to coordinates
and a bunch of other stuff...
GPL