This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch experimental
in repository libnet-dbus-perl.

commit 24cece18807a0a9f55ab983aa8ba9c6f10da5a59
Author: Daniel P. Berrange <berra...@redhat.com>
Date:   Sun Jan 28 17:50:17 2007 -0500

    Fixed POD docs
---
 lib/Net/DBus/Reactor.pm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/lib/Net/DBus/Reactor.pm b/lib/Net/DBus/Reactor.pm
index 99b9f03..92f300b 100644
--- a/lib/Net/DBus/Reactor.pm
+++ b/lib/Net/DBus/Reactor.pm
@@ -20,30 +20,30 @@
 
 =head1 NAME
 
-Net::DBus::Reactor - application event loop 
+Net::DBus::Reactor - application event loop
 
 =head1 SYNOPSIS
 
 Create and run an event loop:
 
    use Net::DBus::Reactor;
-   my $reactor = Net::DBus::Reactor->new();
+   my $reactor = Net::DBus::Reactor->main();
 
    $reactor->run();
 
 Manage some file handlers
 
-   $reactor->add_read($fd, 
+   $reactor->add_read($fd,
                       Net::DBus::Callback->new(method => sub {
                          my $fd = shift;
                          ...read some data...
                       }, args => [$fd]);
 
-   $reactor->add_write($fd, 
-                      Net::DBus::Callback->new(method => sub {
-                         my $fd = shift;
-                         ...write some data...
-                      }, args => [$fd]);
+   $reactor->add_write($fd,
+                       Net::DBus::Callback->new(method => sub {
+                          my $fd = shift;
+                          ...write some data...
+                       }, args => [$fd]);
 
 Temporarily (dis|en)able a handle
 
@@ -152,7 +152,7 @@ sub new {
 
 use vars qw($main_reactor);
 
-=item $reactor->main
+=item $reactor = Net::DBus::Reactor->main;
 
 Return a handle to the singleton instance of the reactor. This
 is the recommended way of getting hold of a reactor, since it

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libnet-dbus-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to