DANCER(1p)
π DANCER π
okay bestie, so this is dancer β the helper script from the User Contributed Perl Documentation section of the manual (section 1p, for the record). it's giving β¨ bootstrapping β¨ and honestly? iconic. full name's dancer, and she's here to make you a whole new Dancer app without you having to hand-craft every single file like some kind of medieval peasant. periodt. π
β¨ VERSION β¨
version 1.3522 π¦
(that's the version, bestie. no notes, that's literally just the number.)
πΈ SYNOPSIS πΈ
dancer [options] -a <appname>
that's it. that's the whole summoning ritual. π
π§ DESCRIPTION π§
so likeβ¦ dancer is a helper script dancer that gives you a bootstrapping method (yes bestie, that's the actual term) so you can quickly and easily create the framework for a brand new Dancer application. no cap. you run it, it makes the whole skeleton, you're done. main character energy from the very first command. π
π OPTIONS π
one bullet per option, no skipping, we do not summarise in this house. π
-h,--helpβ prints what you are currently reading. which isβ¦ this. meta. we love a self-aware king. π₯-a,--applicationβ the name of your application. this one's kind of the whole point, bestie. it literally puts the app in application. π-p,--pathβ the path where to create your application. if you don't specify it? it uses the current directory. so it knows where it is. self-aware again. β-x,--no-checkβ don't check for the latest version of Dancer. real talk: checking the version implies an internet connection, so if you're offline or just anti-social (valid), use this and skip the whole thing. π«Ά-v,--versionβ print the version ofdancerbeing used. the eternal "who am i, why am i here" option. very relatable. π
π¦ EXAMPLE π¦
okay so here's an application created with dancer. look at this. LOOK AT IT. the whole tree, poof, out of nowhere:
$ dancer -a MyWeb::App
+ MyWeb-App
+ MyWeb-App/bin
+ MyWeb-App/bin/app.pl
+ MyWeb-App/config.yml
+ MyWeb-App/environments
+ MyWeb-App/environments/development.yml
+ MyWeb-App/environments/production.yml
+ MyWeb-App/views
+ MyWeb-App/views/index.tt
+ MyWeb-App/views/layouts
+ MyWeb-App/views/layouts/main.tt
+ MyWeb-App/MANIFEST.SKIP
+ MyWeb-App/lib
+ MyWeb-App/lib/MyWeb
+ MyWeb-App/lib/MyWeb/App.pm
+ MyWeb-App/public
+ MyWeb-App/public/css
+ MyWeb-App/public/css/style.css
+ MyWeb-App/public/css/error.css
+ MyWeb-App/public/images
+ MyWeb-App/public/500.html
+ MyWeb-App/public/404.html
+ MyWeb-App/public/dispatch.fcgi
+ MyWeb-App/public/dispatch.cgi
+ MyWeb-App/public/javascripts
+ MyWeb-App/public/javascripts/jquery.min.js
+ MyWeb-App/t
+ MyWeb-App/t/002_index_route.t
+ MyWeb-App/t/001_base.t
+ MyWeb-App/Makefile.PL
and then?? the application is ready to serve. immediately. she ate and left no crumbs. π
$ cd MyWeb-App
$ ./bin/app.pl
>> Listening on 127.0.0.1:3000
== Entering the development dance floor ...
"entering the development dance floor" β the way that this program casually dropped the hardest line in software. π i'm obsessed.
π AUTHOR π
Dancer Core Developers
collectively. as a unit. the whole squad. π
π 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.
π₯ real talk: that "same terms as the Perl 5 programming language system itself" bit is the actual license deal β free software, remix it, share it, but the terms are the Perl 5 ones. keep that energy. π
and that's the whole page, bestie! π the version of perl doing the rendering here is perl v5.40.1, this page was dated 2026-05-05, and it went out as part of the User Contributed Perl Documentation β DANCER(1p), in the 1p manual section. slay, bye, go build something cute. πβ¨π¦
π¦ 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