Subject: | [Patch] POD nits |
The attached patch fixes some POD, which renders wrong, at least at
search.cpan.org.
Subject: | pod.patch |
diff --git a/lib/MooseX/Declare/Syntax/Keyword/Clean.pm b/lib/MooseX/Declare/Syntax/Keyword/Clean.pm
index cba2003..a2b73bb 100644
--- a/lib/MooseX/Declare/Syntax/Keyword/Clean.pm
+++ b/lib/MooseX/Declare/Syntax/Keyword/Clean.pm
@@ -63,7 +63,7 @@ position.
Object->parse(Object $context)
-This will inject a call to L<namespace::clean> C<-except => 'meta'> into
+This will inject a call to L<namespace::clean> C<< -except => 'meta' >> into
the code at the position of the keyword.
=head1 SEE ALSO
diff --git a/lib/MooseX/Declare/Syntax/MooseSetup.pm b/lib/MooseX/Declare/Syntax/MooseSetup.pm
index f7d0297..c018bda 100644
--- a/lib/MooseX/Declare/Syntax/MooseSetup.pm
+++ b/lib/MooseX/Declare/Syntax/MooseSetup.pm
@@ -165,7 +165,7 @@ the L<preamble|MooseX::Declare::Context/preamble_code_parts>.
Then it will add a code part that will immutabilize the class to the
L<cleanup|MooseX::Declare::Context/cleanup_code_parts> code if the
-L</auto_make_immutable> method returned a true value and C<$options->{is}{mutable}>
+L</auto_make_immutable> method returned a true value and C<< $options->{is}{mutable} >>
does not exist.
=head2 handle_post_parsing
diff --git a/lib/MooseX/Declare/Syntax/NamespaceHandling.pm b/lib/MooseX/Declare/Syntax/NamespaceHandling.pm
index 1c5a439..f8e9f8d 100644
--- a/lib/MooseX/Declare/Syntax/NamespaceHandling.pm
+++ b/lib/MooseX/Declare/Syntax/NamespaceHandling.pm
@@ -265,7 +265,7 @@ will be thrown when a user attempts to declare an anonymous namespace.
This is the main handling routine for namespaces. It will remove the namespace
name and its options. If the handler was invoked without a name, options or
a following block, it is assumed that this is an instance of an autoquoted
-bareword like C<class => "Foo">.
+bareword like C<< class => "Foo" >>.
The return value of the C<parse> method is also the value that is returned
to the user of the keyword.