Skip to content

Commit

Permalink
mention that the watch method accepts true and false values
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 20, 2012
1 parent 5da7792 commit b3bb952
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.64 2012-03-21 00:00:00
- Improved documentation.

2.63 2012-03-20 00:00:00
- Renamed Mojo::IOWatcher to Mojo::Reactor.
- Added Mojolicious::Routes::Route.
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Reactor.pm
Expand Up @@ -254,9 +254,9 @@ seconds.
=head2 C<watch>
$reactor = $reactor->watch($handle, $read, $write);
$reactor = $reactor->watch($handle, $readable, $writable);
Change I/O events to watch handle for.
Change I/O events to watch handle for with C<true> and C<false> values.
# Watch only for readable events
$reactor->watch($handle, 1, 0);
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -33,7 +33,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Leaf Fluttering In Wind';
our $VERSION = '2.63';
our $VERSION = '2.64';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down

0 comments on commit b3bb952

Please sign in to comment.