Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mojolicious-Plugin-ToolkitRenderer CPAN distribution.

Report information
The Basics
Id: 97646
Status: resolved
Priority: 0/
Queue: Mojolicious-Plugin-ToolkitRenderer

People
Owner: Nobody in particular
Requestors: gareth.harper [...] broadbean.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: POD for Mojolicious::Plugin::ToolkitRenderer
Date: Thu, 31 Jul 2014 11:27:24 +0100
To: bug-Mojolicious-Plugin-ToolkitRenderer [...] rt.cpan.org
From: Gareth Harper <gareth.harper [...] broadbean.com>
In the section titled "SETUP" if you copy and paste the exact code before (assuming that it'll default sensibly), then it will die with "Not a CODE reference at ..." error. This section below: =head1 SETUP When setting up the plugin, you need to provide a hashref of settings that are in 3 sections. { config => {}, settings => {}, context => {}, } Needs to become: =head1 SETUP When setting up the plugin, you need to provide a hashref of settings that are in 3 sections. { config => {}, settings => {}, context => sub {}, } The other option is to simpyl explicitly state that all three are optional, and you do not need to provide them if you do not need them. Thanks Gareth
Just made the edit and uploaded updated POD.