DANCER(1p)

πŸ“¦
version 1.3522 Β· 3 versions
, in ubuntu stonking

πŸ’– 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 of dancer being 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. πŸ’–


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