Help for this page
if ($location eq ""){ &main ... }else{ default('Where are you trying to go?'); }
SWITCH: for ($location) { /^$/ && do {&main() ;last SWITCH}; ... /^links$/i && do {&links() ;last SWITCH}; default('Where are you trying to go'); # catch anything else }