Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Text-Xatena CPAN distribution.

Report information
The Basics
Id: 80634
Status: new
Priority: 0/
Queue: Catalyst-Plugin-Text-Xatena

People
Owner: Nobody in particular
Requestors: tomas.doran [...] timgroup.com
Cc:
AdminCc:

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



Subject: Duplicate code and deprecated
Date: Mon, 5 Nov 2012 10:44:04 +0000
To: <bug-Catalyst-Plugin-Text-Xatena [...] rt.cpan.org>
From: Tomas Doran <tomas.doran [...] timgroup.com>
Hi I notice your module entirely duplicates the functionality of Catalyst::Plugin::Markdown, which is also a terribly bad idea. As per: https://metacpan.org/module/Catalyst::Manual::ExtendingCatalyst this should not be a plugin, as it doesn't affect application state at all. I'd go so far as to say, given the markdown() function is side effect free (and idempotent), that you're better off just importing the function as needed, rather than having it as a method call.