in reply to subdomain help

If your script outputs <img src="/images/logo.png">, that would result in a different absolute URL for every domain. If all that's different is the images, you don't need to do anything special in your Perl program.