Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Cleaning up intro.pod #5

Merged
merged 2 commits into from

2 participants

@kthakore

Hi there,

Was reading intro.pod on cpan and the code sections seemed to be missing some spacing. Hopefully this patch is appropriate, if not tell me what to change.

Regards,
Kartik

kthakore added some commits
@kthakore kthakore Update intro.pod
Trying space so the first lines of this code is not missing when rendered on cpan/metacpan/github.
cffa017
@kthakore kthakore Cleaned spacing for the code sections
Cleaned up spacing for code sections and added for author tag in front of TODO. Not sure if the TODO is needed.
e696d6c
@rcaputo
Owner

I just recently went through POE's Z<...comment...> usage, which broke the POD release tests. It turns out that this is the construct that's documented in perlpod:

=for comment
TODO - Example.

@rcaputo rcaputo merged commit e696d6c into rcaputo:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 23, 2013
  1. @kthakore

    Update intro.pod

    kthakore authored
    Trying space so the first lines of this code is not missing when rendered on cpan/metacpan/github.
  2. @kthakore

    Cleaned spacing for the code sections

    kthakore authored
    Cleaned up spacing for code sections and added for author tag in front of TODO. Not sure if the TODO is needed.
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 5 deletions.
  1. +11 −5 docs/intro/intro.pod
View
16 docs/intro/intro.pod
@@ -62,7 +62,8 @@ are named after this key by default.
That's a bit of work, but roles are generally the biggest Reflex
modules. The classes that use it are much smaller.
-TODO - Changed.
+=for author TODO - Changed.
+
package AfterAwhileRole;
use Reflex::Role;
@@ -100,7 +101,8 @@ All Reflex classes should be based on Reflex::Base. The class exposes
"name" and "awhile" attributes so they may be set during object
construction.
-TODO - Changed.
+=for author TODO - Changed.
+
package AfterAwhileClass;
use Moose;
extends 'Reflex::Base';
@@ -121,6 +123,7 @@ classes. Here's a subclass of AfterAwhileClass that internally
consumes its on_done() callback. Even though Moose would makethis a
bit shorter, we deliberately avoid it because we can.
+
package AfterAwhileSubclass;
use warnings;
@@ -214,7 +217,8 @@ returns the next asynchrnous event they emit.
First, here's how it's done:
-TODO - Changed.
+=for authorTODO - Changed.
+
#!/usr/bin/env perl
use warnings;
@@ -230,7 +234,8 @@ TODO - Changed.
We need to define AsyncAwhileClass before that will run. It's just a
renamed AfterAwhileClass, with the new asynchronous role.
-TODO - Changed.
+=for author TODO - Changed.
+
package AsyncAwhileClass;
use Moose;
extends 'Reflex::Base';
@@ -247,7 +252,8 @@ This AsyncAwhileRole replaces the blocking sleep() with a non-blocking
Reflex::Interval object. Later we'll introduce magic to make it more
concise.
-TODO - Changed.
+=for author TODO - Changed.
+
package AsyncAwhileRole;
use Reflex::Role;
use Reflex::Interval;
Something went wrong with that request. Please try again.