in reply to Are there any refresh commands?

You could always make your Perl script output some data that is used by a CGI script later, or if this is too much work, you can either: