Perhaps you just want to use $q->redirect() ?

----- Original Message -----
From: "Jason Ostrom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 02, 2002 5:02 PM
Subject: Re-direct/Refresh question


> Is there a more efficient way to do page re-directs / refreshes with
>  CGI.pm?  I've searched all over, and can't find the answer.
>
>  Like if I'm trying to re-create this HTML:
> <html><head>
> <title>Blah Blah!!!!Refresh Test</title>
> <meta HTTP-EQUIV="Refresh" CONTENT="3; URL=refresh.html"> </head>
> <body>
>
>
> I use CGI.pm with the object-oriented interface, and I can't figure
> out how to put that refresh code in the Header; I'm trying to put it
> in to this:
>
> print $q->header( "text/html" ),
>         $q->start_html( -title => " Blah Blah Blah", -bgcolor =>
"#ffffff" ),
>         $q->h1( "Blah Blah" ),
>         $q->p("Last Updated: $tm" ),
>         $q->end_html;
>
> Or maybe I just need to use print with qq to do straight HTML, as in:
> print qq'<etc, etc, etc>'  But I would like to use the object-oriented
> interface.
>
> Thanks in advance for your help.
> -Jason
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to