Skip to content

Instantly share code, notes, and snippets.

@sukria
Created February 22, 2010 10:38
Show Gist options
  • Select an option

  • Save sukria/310992 to your computer and use it in GitHub Desktop.

Select an option

Save sukria/310992 to your computer and use it in GitHub Desktop.
package TestApp;
use Dancer;
set content_type => 'text/plain';
my $count;
#foreach my $a ('a' .. 'z') {
foreach my $b ('a' .. 'z') {
foreach my $c ('a' .. 'z') {
my $path = "${b}${c}";
get "/$path" => sub {
$path;
};
$count++;
}
}
#}
true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment