in reply to Web Page Redirect

You want to display a webpage when the interaction with the script is finished?
use CGI; print redirect("http://destination.url");

Or do you want to display the page, but with some values from the script? Use a templating system, for instance HTML::Template.

Replies are listed 'Best First'.
Re: Re: Web Page Redirect
by Midnite (Acolyte) on Apr 27, 2004 at 19:42 UTC
    Yes, I just want to display the pre-written webpage.

    Joseph A. Ruffino
    Automated Systems Assistant
    Gail Borden Public Library District
    270 N. Grove Ave
    Elgin, Il, 60120
      Well, if you are just wanting to display a page, you can either do a re-direct (as has already been shown) or you can read and print the existing page through your script. From a performance standpoint the re-direct is going to be much better for you.

      As for the margins question, the print format is as far as I know pretty much entirely up to the browser in question. If you need that much control over how it renders, you might consider putting it into pdf format (for which there are a number of modules in CPAN).