Another option --
Check out the service provided by browsershots.org, they will get you screenshots of URLS on a variety of different machines and browsers. It's not instantaneous, but it's free.
Also it's a web interface, but writing a perl wrapper around that web interface would not be difficult.