Victor Bruno wrote:
sub display_dashboard : Path('dashboard/')

That's catalyst style code. The way I achieve what you are talking about is to require in the relevant module based on the runmode name. That way if you are in Vanilla CGI you only load the modules you need for the current process. During the setup phase I check what modules are in a set folder and populate the runmode has based on that.

Hope that makes sense...


Lyle


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to