in reply to .dancer -- what's it for

Hello kcot,

a short search pointed me to perl-dancer-conference-2015-report

> It is recommended to add an empty .dancer file to your app’s directory, which indicates that this is a Dancer app (other Perl frameworks do similarly).

also found in Changes and this github issue



In the main doc at BOOTSTRAPPING-A-NEW-APP they list the skeleton files created and you can view also at share/skel github repo where the above fix (the simplest fix of the history! ;) was merged.

PPS the meaning of this file to be there is exposed in the above github issue:

> There's no reason why we shouldn't generate this file. It might help move away from the bin/lib directory checks.

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: .dancer -- what's it for
by kcott (Bishop) on Jan 24, 2021 at 07:56 UTC

    G'day Discipulus,

    Thanks for taking the time to dig out this information; unfortunately, it gives vague hints but nothing concrete. I appreciate that you're only reporting what you found; I'm not trying to shoot the messenger in any of the following paragraphs.

    It's mentioned as a bug fix; however, I can't find any description of the bug it is supposed to fix. Can you provide a link to the actual bug? I just see #1032 pointing to #1043 and vice versa; I don't see any bug report.

    If .dancer is supposed to identify a Dancer app, I'd have thought that .dancer2 would be more appropriate to identify a Dancer2 app.

    "There's no reason why we shouldn't generate this file." — fair enough, but what's the reason to generate it?

    "It might help move away from the bin/lib directory checks." — what checks? what's wrong with them? why move away from them?

    — Ken

Re^2: .dancer -- what's it for
by Anonymous Monk on Jan 22, 2021 at 18:33 UTC
    Yeah. Never did understand, though, what this file was for. So far as I know, nothing tests for it.