Hello! I am trying to use a CGI script that uses a URL to run a function and display pages. Like this:
What I want it to do is when it gets supplied a URL, lets say
, it takes the value of action and runs the function associated with it. Thanks in advance for your help, I'm pretty new to Perl.
Matt
Code:
our %funcToAction = ('email_verify' => everify(),
'account_deactivate' => deactivateAccount(),
'edit_settings' => accountEditSettings() );
What I want it to do is when it gets supplied a URL, lets say
Code:
myscript?action=email_verify
Matt