Skip to content
Stefan Hornburg (Racke) edited this page Aug 13, 2014 · 14 revisions

This is the documentation which finally ends up as Dancer2::Migration POD. See Github issue #583.

Import syntax

The following import tags are not valid/needed anymore:

use Dancer2 qw(:syntax);
use Dancer2 qw(:tests);

Apps

Single application in Dancer1 vs application per module in Dancer2. Documentation?

Plugins

plugin_setting

Cannot be called anymore outside register or on_plugin_import.

Tests

Use Plack::Test for tests.

Logs

We cannot use read_logs anymore as with Dancer2::Test.

TODO list

This list things we need to do in the D2 eco system before we can recommend it as Dancer 1 replacement for the public.

  • Plack::Test documentation #656
Clone this wiki locally