Wiki - Dancer2Hackathon

Plugins

Make more plugins compatible to Dancer 2.

Old:

register foo => sub {

my (@args) = @_;
...

};

register_plugin;

New:

register foo => sub {

my ($self, @args) = plugin_args(@_);
...

};

register_plugin for_versions => 1, 2 ;

Documentation

Tests


version 5 saved on 07/11/12 09:03 by Stefan Hornburg (‎Racke‎)

Home | Tags | Recent changes | History


Copyright © 2003-2012 Verein 'Vienna.pm - Verein zur Förderung der Programmiersprache Perl'.
To contact the organisers send an email to apw2012 @ plix.at