Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 studying the Monastery: (2)
As of 2024-07-25 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.