{"comment":{"created_at":"2011-10-12T21:26:36Z","body":"Fair enough. I'll bide my time and wait for Dancer 2, then. :-)","updated_at":"2011-10-12T21:26:36Z","url":"https://api.github.com/repos/sukria/Dancer/issues/comments/2387201","id":2387201,"user":{"avatar_url":"https://secure.gravatar.com/avatar/8afa39c7859ef8d183bb8928c8c54dc3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/yanick","id":19954,"login":"yanick"}},"action":"created","issue":{"number":623,"created_at":"2011-08-13T10:33:21Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I tried to register hooks from a plugin with the following statement as shown in the Dancer::Hook POD:\r\n\r\nDancer::Hook->instance->register_hooks_name(qw/before_cart_add after_cart_add/);\r\n\r\nBut it fails:\r\n\r\nCan't locate object method \"instance\" via package \"Dancer::Hook\" at /home/racke/Nitesi/dancer/lib/Dancer/Plugin/Nitesi.pm line 33.\r\n\r\nRegards\r\n                  Racke\r\n","comments":10,"title":"Problem registering hooks in a plugin","updated_at":"2011-10-12T21:26:36Z","url":"https://api.github.com/repos/sukria/Dancer/issues/623","id":1399600,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/e77a97b7bec8a0dc42fee8ecb640cb25?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/bigpresh","id":54107,"login":"bigpresh"},"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/49277f0bc94dc63a3934d1dd97fb10c1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/racke","id":143678,"login":"racke"},"html_url":"https://github.com/sukria/Dancer/issues/623","labels":[],"state":"open"},"legacy":{"issue_id":1399600,"comment_id":2387201}}