in reply to [untitled node, ID 192588]
You might want to look at using CGI::Application and AutoLoader.
You can then tell CGI::Applicaton the set the functions that you want the cgi to call based on 'run_modes'. And when you enter that 'run_mode' perl auto load the function and call it.
I have not tried this, but in theory it should work, I think.
|
|---|