Help for this page

Select Code to Download


  1. or download this
    # find all modules in the apps' directories, and load them via Module:
    +:Load (so they are in mod_perl parent)
    
    ...
        $urlmap->mount( $uri_path => ${app_namespace}->to_app );
    }
    $urlmap->to_app;
    
  2. or download this
    package App1;
    use Dancer2;
    ...
    };
    
    true;