The only thing I can speculate is that it's a marker for the base directory -- but that would be odd since there's a method for that. On the other hand, I do usually always have such a dot-file marking the root of my app installation on the FS, so that scripts know where to look for library paths, and so on. Most of my scripts start with something like:
BEGIN {
use Path::Tiny;
my $base = path(__FILE__)->parent;
$base = $base->parent until -f "$base/.some-dot-file" or $base->is
+_rootdir;
unshift @INC, "$base/lib";
}
... so that they don't have to know where they live. Possibly
.dancer has or once had a purpose like that?
The way forward always starts with a minimal test.