Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Odd behavior when trying to preload Plack apps under mod_perl

by cLive ;-) (Prior)
on Sep 08, 2022 at 11:04 UTC ( #11146765=perlquestion: print w/replies, xml ) Need Help??

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;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11146765]
Approved by davies
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2023-09-26 05:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?