use strict; use warnings; use CGI; my $URI = "../html/thePage.html"; my $q = new CGI; print $q->redirect(-uri=>$URI);