Dancer (software)
Dancer is an open source lightweight web application framework written in Perl and inspired by Ruby's Sinatra. In April 2011, Dancer was rewritten from scratch and released as Dancer2. The reason for the rewrite was to fix architectural issues and eliminate the use of singletons. Development of Dancer1 was at first frozen, but was later continued to maintain backward compatibility for existing apps. Dancer is developed through GitHub, with stable releases available via CPAN. Dancer2 is released as a separate module.
Dancer is an open source lightweight web application framework written in Perl and inspired by Ruby's Sinatra. In April 2011, Dancer was rewritten from scratch and released as Dancer2. The reason for the rewrite was to fix architectural issues and eliminate the use of singletons. Development of Dancer1 was at first frozen, but was later continued to maintain backward compatibility for existing apps. Dancer is developed through GitHub, with stable releases available via CPAN. Dancer2 is released as a separate module. !/usr/bin/env perl use Dancer2; get '/hello/:name' => sub { return "Why, hello there " . route_parameters->get('name'); }; get '/redirectMeTo/:trgval' => sub { redirect '/' . route_parameters->get('trgval'); }; start;
References
No reference rows published for this article.
Cite this article
MLA
"Dancer (software)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/dancer-software. Accessed 24 November 2026.
Chicago
"Dancer (software)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/dancer-software.
APA
encyclopegia.org. (2025). Dancer (software). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/dancer-software
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON