PerlDancer/Dancer2 — pull request #133 by dams (2012-12-16 01:32:30+00:00)
Title: keyword exclusion at import time now works. DSL is loaded at import time...

I realized that this syntax was broken in Dancer 2, but works in Dancer 1 :

use Dancer qw(:tests);

I fixed it. So now :tests, :syntax, :moose, !pass, !... work.

Also, I wanted to be able to write my own Dancer DSL, and so I added a option to Dancer import to do that. So now you can do : use Dancer dsl => My::Awesome::DSL;

of course My::Awesome::DSL needs to exist and should consume Dancer::Core::Role::DSL