Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Weaver CPAN distribution.

Report information
The Basics
Id: 72298
Status: rejected
Priority: 0/
Queue: Pod-Weaver

People
Owner: Nobody in particular
Requestors: vadim [...] zeitlins.org
Cc:
AdminCc:

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



Subject: Making Pod::Weaver simpler to use with MooseX::Declare?
Date: Sat, 25 Jun 2011 22:55:40 +0200
To: Ricardo SIGNES <rjbs [...] cpan.org>
From: Vadim Zeitlin <vadim [...] zeitlins.org>
Hello, First of all, sorry in advance if writing to you directly is not the preferred way of discussing this topic, please point me to a better place to do it if so. Now on to my hopefully simple question: I've recently finally tried to upgrade some of my Perl code to the latest and greatest Perl practices and so tried using Dist::Zilla -- with its Pod::Weaver plugin -- and Moose, including MooseX::Declare. It's a tad annoying however that Pod::Weaver can determine the file name automatically if it contains the traditional "package Foo::Bar" declaration but not if MooseX::Declare "class Foo::Bar" is used. I know that I can use "# PODNAME" to avoid this problem but I was just wondering if Pod::Weaver could to also look for "class" lines, maybe with some extra configuration? I don't really know how difficult would be this to do as I've never used PPI before but for non pathological examples it could even be done at purely textual level. Anyhow, it's not a big deal either way but I just wanted to ask what (if anything ;-) did you think about this possible enhancement. Thanks, VZ
Download (untitled)
application/pgp-signature 196b

Message body not shown because it is not plain text.

I do not plan to make any changes to support MooseX::Declare syntax. -- rjbs