use CGI; my $cgi = CGI->new(); my $actualPage = $cgi->param('actualPage') || 1;