Skip Menu |

This queue is for tickets about the Games-3D CPAN distribution.

Report information
The Basics
Id: 51819
Status: new
Priority: 0/
Queue: Games-3D

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

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



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/Games/3D.pm b/lib/Games/3D.pm index ed2386a..bffe6f3 100644 --- a/lib/Games/3D.pm +++ b/lib/Games/3D.pm @@ -333,7 +333,7 @@ with a 'on_' prefix in the L<Templates> like: } The notation of a single signal is shorthand for -C<CODE="$self->signal($src,SIG_...)"> and means that on the event the object +C<< CODE="$self->signal($src,SIG_...)" >> and means that on the event the object will send itself the specified signal. C<$src> is the object that caused the event. C<$self> is the object that diff --git a/lib/Games/3D/Link.pm b/lib/Games/3D/Link.pm index 6751dde..8cb2a19 100644 --- a/lib/Games/3D/Link.pm +++ b/lib/Games/3D/Link.pm @@ -358,8 +358,8 @@ of the link first, by using L<link()>, or L<add_input()>. Registers C<$object> as a valid input source for this link. See also L<link()>. Do not forget to also register the link C<$link> as output for C<$object> via -C<$object->add_output($link);>. It is easier and safer to just use -C<$link->link($src,$dst);>, though. +C<< $object->add_output($link); >>. It is easier and safer to just use +C<< $link->link($src,$dst); >>, though. =item add_output() @@ -369,8 +369,8 @@ Registers C<$object> as an output of this link, e.g. each signal the link relays will also be sent to this object. See also L<link()>. Do not forget to also register the link C<$link> as input for C<$object> via -C<$object->add_input($link);>. It is easier and safer to just use -C<$link->link($src,$dst);>, though. +C<< $object->add_input($link); >>. It is easier and safer to just use +C<< $link->link($src,$dst); >>, though. =item link() diff --git a/lib/Games/3D/Thingy.pm b/lib/Games/3D/Thingy.pm index 3c8fa79..d019753 100644 --- a/lib/Games/3D/Thingy.pm +++ b/lib/Games/3D/Thingy.pm @@ -748,7 +748,7 @@ for Thingies and their subclasses, they simple receive and handle signals from everyone. Important for Games::3D::Link, though. Do not forget to also register the link C<$link> as output for C<$object> via -C<$object->add_output($link);>. It is easier and safer to just use +C<< $object->add_output($link); >>. It is easier and safer to just use link() from Games::3D::Link, though. =item add_output() @@ -761,7 +761,7 @@ generateds will also be sent to the destinationt. If the target of the output is not a Thingy or a subclass, but a Games::3D::Link object, do not forget to also register the object C<$thingy> as input for C<$destination> via -C<$destination->add_input($object);>. +C<< $destination->add_input($object); >>. In short: If you want to simple link two objects, just register the second object as output on the first. If you want to link two objects (ore even more)