Skip to content

Commit

Permalink
removed POD formatting rule again
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 16, 2011
1 parent 9168874 commit 7122097
Show file tree
Hide file tree
Showing 72 changed files with 584 additions and 658 deletions.
11 changes: 5 additions & 6 deletions README.pod
Expand Up @@ -2,12 +2,11 @@
=pod

Back in the early days of the web, many people learned Perl because of a
wonderful Perl library called L<CGI>.
It was simple enough to get started without knowing much about the language
and powerful enough to keep you going, learning by doing was much fun.
While most of the techniques used are outdated now, the idea behind it is not.
L<Mojolicious> is a new attempt at implementing this idea using state of the
art technology.
wonderful Perl library called L<CGI>. It was simple enough to get started
without knowing much about the language and powerful enough to keep you
going, learning by doing was much fun. While most of the techniques used are
outdated now, the idea behind it is not. L<Mojolicious> is a new attempt at
implementing this idea using state of the art technology.

=head2 Features

Expand Down
12 changes: 6 additions & 6 deletions lib/Mojo.pm
Expand Up @@ -71,9 +71,9 @@ Mojo - Duct tape for the HTML5 web!
=head1 DESCRIPTION
Mojo provides a flexible runtime environment for Perl real-time web
frameworks.
It provides all the basic tools and helpers needed to write simple web
applications and higher level web frameworks such as L<Mojolicious>.
frameworks. It provides all the basic tools and helpers needed to write
simple web applications and higher level web frameworks such as
L<Mojolicious>.
See L<Mojolicious> for more!
Expand Down Expand Up @@ -117,9 +117,9 @@ new ones.
my $app = Mojo->new;
Construct a new L<Mojo> application.
Will automatically detect your home directory and set up logging to
C<log/mojo.log> if there's a C<log> directory.
Construct a new L<Mojo> application. Will automatically detect your home
directory and set up logging to C<log/mojo.log> if there's a C<log>
directory.
=head2 C<build_tx>
Expand Down
12 changes: 6 additions & 6 deletions lib/Mojo/Asset/Memory.pm
Expand Up @@ -91,8 +91,8 @@ L<Mojo::Asset::Memory> can emit the following events.
my ($mem, $file) = @_;
});
Emitted when asset gets upgraded to a L<Mojo::Asset::File> object.
Note that this event is EXPERIMENTAL and might change without warning!
Emitted when asset gets upgraded to a L<Mojo::Asset::File> object. Note that
this event is EXPERIMENTAL and might change without warning!
$mem->on(upgrade => sub {
my ($mem, $file) = @_;
Expand All @@ -110,8 +110,8 @@ implements the following new ones.
$mem = $mem->auto_upgrade(1);
Try to detect if content size exceeds C<max_memory_size> limit and
automatically upgrade to a L<Mojo::Asset::File> object.
Note that this attribute is EXPERIMENTAL and might change without warning!
automatically upgrade to a L<Mojo::Asset::File> object. Note that this
attribute is EXPERIMENTAL and might change without warning!
=head2 C<max_memory_size>
Expand All @@ -120,8 +120,8 @@ Note that this attribute is EXPERIMENTAL and might change without warning!
Maximum asset size in bytes, only attempt upgrading to a L<Mojo::Asset::File>
object after reaching this limit, defaults to the value of
C<MOJO_MAX_MEMORY_SIZE> or C<262144>.
Note that this attribute is EXPERIMENTAL and might change without warning!
C<MOJO_MAX_MEMORY_SIZE> or C<262144>. Note that this attribute is
EXPERIMENTAL and might change without warning!
=head1 METHODS
Expand Down
12 changes: 5 additions & 7 deletions lib/Mojo/Base.pm
Expand Up @@ -215,8 +215,8 @@ L<Mojo::Base> implements the following methods.
my $instance = BaseSubClass->new(name => 'value');
my $instance = BaseSubClass->new({name => 'value'});
This base class provides a basic object constructor.
You can pass it either a hash or a hash reference with attribute values.
This base class provides a basic object constructor. You can pass it either a
hash or a hash reference with attribute values.
=head2 C<attr>
Expand All @@ -227,12 +227,10 @@ You can pass it either a hash or a hash reference with attribute values.
__PACKAGE__->attr([qw/name1 name2 name3/] => 'foo');
__PACKAGE__->attr([qw/name1 name2 name3/] => sub {...});
Create attributes.
An arrayref can be used to create more than one attribute.
Create attributes. An arrayref can be used to create more than one attribute.
Pass an optional second argument to set a default value, it should be a
constant or a sub reference.
The sub reference will be excuted at accessor read time if there's no set
value.
constant or a sub reference. The sub reference will be excuted at accessor
read time if there's no set value.
=head1 DEBUGGING
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/ByteStream.pm
Expand Up @@ -280,8 +280,8 @@ Size of bytestream.
my $collection = $stream->split(',');
Turn bytestream into L<Mojo::Collection>.
Note that this method is EXPERIMENTAL and might change without warning!
Turn bytestream into L<Mojo::Collection>. Note that this method is
EXPERIMENTAL and might change without warning!
$stream->split(',')->map(sub { $_->quote })->join("\n")->say;
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Cache.pm
Expand Up @@ -42,8 +42,8 @@ Mojo::Cache - Naive in-memory cache
=head1 DESCRIPTION
L<Mojo::Cache> is a naive in-memory cache with size limits.
Note that this module is EXPERIMENTAL and might change without warning!
L<Mojo::Cache> is a naive in-memory cache with size limits. Note that this
module is EXPERIMENTAL and might change without warning!
=head1 ATTRIBUTES
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Collection.pm
Expand Up @@ -100,8 +100,8 @@ Mojo::Collection - Collection
=head1 DESCRIPTION
L<Mojo::Collection> is a container for collections.
Note that this module is EXPERIMENTAL and might change without warning!
L<Mojo::Collection> is a container for collections. Note that this module is
EXPERIMENTAL and might change without warning!
=head1 METHODS
Expand Down
28 changes: 14 additions & 14 deletions lib/Mojo/Content.pm
Expand Up @@ -431,8 +431,8 @@ L<Mojo::Content> can emit the following events.
my $content = shift;
});
Emitted once all headers have been parsed and the body starts.
Note that this event is EXPERIMENTAL and might change without warning!
Emitted once all headers have been parsed and the body starts. Note that this
event is EXPERIMENTAL and might change without warning!
$content->on(body => sub {
my $content = shift;
Expand Down Expand Up @@ -477,8 +477,8 @@ Content headers, defaults to a L<Mojo::Headers> object.
$content = $content->max_leftover_size(1024);
Maximum size in bytes of buffer for pipelined HTTP requests, defaults to the
value of C<MOJO_MAX_LEFTOVER_SIZE> or C<262144>.
Note that this attribute is EXPERIMENTAL and might change without warning!
value of C<MOJO_MAX_LEFTOVER_SIZE> or C<262144>. Note that this attribute is
EXPERIMENTAL and might change without warning!
=head2 C<relaxed>
Expand Down Expand Up @@ -508,8 +508,8 @@ Content size in bytes.
my $boundary = $content->boundary;
Extract multipart boundary from C<Content-Type> header.
Note that this method is EXPERIMENTAL and might change without warning!
Extract multipart boundary from C<Content-Type> header. Note that this method
is EXPERIMENTAL and might change without warning!
=head2 C<build_body>
Expand All @@ -527,15 +527,15 @@ Render all headers.
my $charset = $content->charset;
Extract charset from C<Content-Type> header.
Note that this method is EXPERIMENTAL and might change without warning!
Extract charset from C<Content-Type> header. Note that this method is
EXPERIMENTAL and might change without warning!
=head2 C<clone>
my $clone = $content->clone;
Clone content if possible.
Note that this method is EXPERIMENTAL and might change without warning!
Clone content if possible. Note that this method is EXPERIMENTAL and might
change without warning!
=head2 C<generate_body_chunk>
Expand Down Expand Up @@ -577,8 +577,8 @@ Check if content is chunked.
my $success = $content->is_dynamic;
Check if content will be dynamic.
Note that this method is EXPERIMENTAL and might change without warning!
Check if content will be dynamic. Note that this method is EXPERIMENTAL and
might change without warning!
=head2 C<is_finished>
Expand Down Expand Up @@ -634,8 +634,8 @@ Parse chunk and stop after headers.
my $size = $content->progress;
Size of content already received from message in bytes.
Note that this method is EXPERIMENTAL and might change without warning!
Size of content already received from message in bytes. Note that this method
is EXPERIMENTAL and might change without warning!
=head2 C<write>
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojo/Content/MultiPart.pm
Expand Up @@ -255,8 +255,8 @@ emit the following new ones.
my ($multi, $single) = @_;
});
Emitted when a new L<Mojo::Content::Single> part starts.
Note that this event is EXPERIMENTAL and might change without warning!
Emitted when a new L<Mojo::Content::Single> part starts. Note that this event
is EXPERIMENTAL and might change without warning!
$multi->on(part => sub {
my ($multi, $single) = @_;
Expand Down Expand Up @@ -311,8 +311,8 @@ Generate a suitable boundary for content.
my $clone = $multi->clone;
Clone content if possible.
Note that this method is EXPERIMENTAL and might change without warning!
Clone content if possible. Note that this method is EXPERIMENTAL and might
change without warning!
=head2 C<get_body_chunk>
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojo/Content/Single.pm
Expand Up @@ -121,8 +121,8 @@ C<auto_upgrade> enabled.
$single = $single->auto_upgrade(0);
Try to detect multipart content and automatically upgrade to a
L<Mojo::Content::MultiPart> object, defaults to C<1>.
Note that this attribute is EXPERIMENTAL and might change without warning!
L<Mojo::Content::MultiPart> object, defaults to C<1>. Note that this
attribute is EXPERIMENTAL and might change without warning!
=head1 METHODS
Expand Down Expand Up @@ -152,8 +152,8 @@ Content size in bytes.
my $clone = $single->clone;
Clone content if possible.
Note that this method is EXPERIMENTAL and might change without warning!
Clone content if possible. Note that this method is EXPERIMENTAL and might
change without warning!
=head2 C<get_body_chunk>
Expand Down
23 changes: 10 additions & 13 deletions lib/Mojo/DOM.pm
Expand Up @@ -431,9 +431,8 @@ Mojo::DOM - Minimalistic HTML5/XML DOM parser with CSS3 selectors
=head1 DESCRIPTION
L<Mojo::DOM> is a minimalistic and relaxed HTML5/XML DOM parser with CSS3
selector support.
It will even try to interpret broken XML, so you should not use it for
validation.
selector support. It will even try to interpret broken XML, so you should not
use it for validation.
=head1 CASE SENSITIVITY
Expand Down Expand Up @@ -477,9 +476,8 @@ Construct a new L<Mojo::DOM> object.
my $untrimmed = $dom->all_text(0);
Extract all text content from DOM structure, smart whitespace trimming is
activated by default.
Note that the trim argument of this method is EXPERIMENTAL and might change
without warning!
activated by default. Note that the trim argument of this method is
EXPERIMENTAL and might change without warning!
=head2 C<append>
Expand All @@ -503,8 +501,8 @@ Append to element content.
my $result = $dom->at('html title');
Find a single element with CSS3 selectors.
All selectors from L<Mojo::DOM::CSS> are supported.
Find a single element with CSS3 selectors. All selectors from
L<Mojo::DOM::CSS> are supported.
=head2 C<attrs>
Expand Down Expand Up @@ -624,9 +622,8 @@ Find root node.
my $untrimmed = $dom->text(0);
Extract text content from element only (not including child elements), smart
whitespace trimming is activated by default.
Note that the trim argument of this method is EXPERIMENTAL and might change
without warning!
whitespace trimming is activated by default. Note that the trim argument of
this method is EXPERIMENTAL and might change without warning!
=head2 C<to_xml>
Expand All @@ -653,8 +650,8 @@ Element type.
my $xml = $dom->xml;
$dom = $dom->xml(1);
Alias for L<Mojo::DOM::HTML/"xml">.
Note that this method is EXPERIMENTAL and might change without warning!
Alias for L<Mojo::DOM::HTML/"xml">. Note that this method is EXPERIMENTAL and
might change without warning!
=head1 SEE ALSO
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/DOM/CSS.pm
Expand Up @@ -456,8 +456,8 @@ Mojo::DOM::CSS - CSS3 selector engine
=head1 DESCRIPTION
L<Mojo::DOM::CSS> is the CSS3 selector engine used by L<Mojo::DOM>.
Note that this module is EXPERIMENTAL and might change without warning!
L<Mojo::DOM::CSS> is the CSS3 selector engine used by L<Mojo::DOM>. Note that
this module is EXPERIMENTAL and might change without warning!
=head1 SELECTORS
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/DOM/HTML.pm
Expand Up @@ -426,8 +426,8 @@ Mojo::DOM::HTML - HTML5/XML engine
=head1 DESCRIPTION
L<Mojo::DOM::HTML> is the HTML5/XML engine used by L<Mojo::DOM>.
Note that this module is EXPERIMENTAL and might change without warning!
L<Mojo::DOM::HTML> is the HTML5/XML engine used by L<Mojo::DOM>. Note that
this module is EXPERIMENTAL and might change without warning!
=head1 ATTRIBUTES
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/EventEmitter.pm
Expand Up @@ -132,8 +132,8 @@ Emit event.
$e = $e->emit_safe('foo');
$e = $e->emit_safe('foo', 123);
Emit event safely and emit C<error> event on failure.
Note that this method is EXPERIMENTAL and might change without warning!
Emit event safely and emit C<error> event on failure. Note that this method
is EXPERIMENTAL and might change without warning!
=head2 C<has_subscribers>
Expand Down

0 comments on commit 7122097

Please sign in to comment.