Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Odd behavior when trying to preload Plack apps under mod_perl

by cLive ;-) (Prior)
on Sep 08, 2022 at 15:04 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-23 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found