in reply to View Source
It's possible to have a perl program that grabs the html generated by a CGI script by acting as a browser.
Look at the docs for the LWP series of modules.