my $page = $cgi->param( "page" ); unless( defined $page and $page ne "" ){ $page = "login"; }