Dancer...r::PSGI(3pm)
β¨ NAME β¨
Dancer::Handler::PSGI β it's a PSGI handler for Dancer apps, bestie π
So you've got a Dancer app and you wanna run it inside a PSGI stack? Yeah. That's literally what this is for.
πΈ VERSION πΈ
This is version 1.3522 π
π¦ DESCRIPTION π¦
Okay so picture this: your Dancer app doesn't have to live alone. This handler lets Dancer applications run as part of PSGI stacks, which is giving very much "glow up via Plack" energy π
And the best part? You don't even have to do anything. Dancer will automatically clock when it's running in a PSGI environment and switch this handler on by itself. Which means when you call dance, you get back a valid PSGI application. No cap. It just knows π§
Wanna add some Plack middleware to the mix? You absolutely can, and you do it in your config file under the plack_middlewares key. For the whole tea on that, go read Dancer::Cookbook β it's giving required reading, fr fr π
β οΈ Heads up though: you must have Plack installed for this handler to work. No Plack, no party. π
π USAGE π
Here's the vibe. In your bin/app.pl, you set the apphandler like this:
# in bin/app.pl
set apphandler => 'Debug';
And then you run the app like this:
# then, run the app the following way
perl -d bin/app.pl GET '/some/path/to/test' 'with=parameters&other=42'
Debug mode slay, test that path, pass it your params. Easy. β¨
π«Ά AUTHORS π«Ά
Dancer contributors β the whole squad honestly π
π AUTHOR π
Dancer Core Developers π₯
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2010 by Alexis Sukrieh. πΈ
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So go forth and remix, bestie β legally π
And that's the whole page, no crumbs left π This was Dancer::Handler::PSGI from the User Contributed Perl Documentation, version 1.3522, served up on 2026-05-05 with perl v5.40.1. Stay iconic, run your PSGI stacks, and don't forget your middleware π
β¨
π¦ where this page comes from
- ubuntu stonking: libdancer-perl 1.3522-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms