Skip Menu |

This queue is for tickets about the MooseX-Types CPAN distribution.

Report information
The Basics
Id: 81675
Status: resolved
Priority: 0/
Queue: MooseX-Types

People
Owner: Nobody in particular
Requestors: PJF [...] cpan.org
Cc:
AdminCc:

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



Subject: im in ur module, patching ur documentation
Dangerous non-zero levels of apostrophe abuse detected. Patch attached. :) <3 Paul
Subject: 0001-Documentation-Apostrophe-police.patch
From 5a948ef5048be05a17e2ba7cc195ac53405295db Mon Sep 17 00:00:00 2001 From: Paul Fenwick <pjf@perltraining.com.au> Date: Tue, 4 Dec 2012 15:05:57 +1100 Subject: [PATCH] Documentation: Apostrophe police. --- lib/MooseX/Types.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MooseX/Types.pm b/lib/MooseX/Types.pm index ce34367..f066392 100644 --- a/lib/MooseX/Types.pm +++ b/lib/MooseX/Types.pm @@ -535,7 +535,7 @@ Due to this stringification, the following will NOT work as you might think: The 'StrOrArrayRef' will have its stringification activated this causes the subtype to not be created. Since the bareword type constraints are not strings you really should not try to treat them that way. You will have to use the ',' -operator instead. The author's of this package realize that all the L<Moose> +operator instead. The authors of this package realize that all the L<Moose> documention and examples nearly uniformly use the '=>' version of the comma operator and this could be an issue if you are converting code. -- 1.7.10.4
I applied this, thanks.