PerlDancer/Dancer2 — pull request #469 by melo (2013-09-17 05:06:47+00:00)
Title: Add :no_dsl import tag to Dancer2::Plugin

This is a RFC PR, not for merging for now.

The current system to manage deprecation warnings in Dancer::Plugin is a single global scalar that fails in the presence of multiple plugins.

Yet most modern plugins don't need the legacy DSL imports. This new import tab, `:no_dsl` prevents those DSL commands from being imported into your own namespace.

The correct approach would be to remove that code entirely, or revert this tag to ':dsl', as an opt-in feature, but some old Dancer2::Plugins might be depending on the current behaviour.