Werner Otto wrote:
Thanks, it works like a charm!

np :) Perl rocks!

Lee.M - JupiterHost.Net

On Tue, 15 Jun 2004 14:35:58 -0500, JupiterHost.Net <[EMAIL PROTECTED]> wrote:



Werner Otto wrote:

Sorry this might be off the topic.

Is there anything that I can do in perl to: when I click on a link to refresh the page as I click on the hyperlink


Like imaitate the browser's refresh button with a link?

How about this:

#!/usr/bin/perl

use strict
use warnings;
use CGI;

print CGI::header();

...

print qq(<a href=") . CGI::url(relative=>1) . '?' . CGI::query_string() . qq(">Refresh</a>\n);

...

see perldoc CGI for other, even better ways :)

HTH :)

Lee.M - JupiterHost.Net





-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to