[libanyevent-handle-udp-perl] 26/60: Make fh an IO::Socket object

Jonas Smedegaard js at alioth.debian.org
Mon Sep 30 10:05:41 UTC 2013


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

js pushed a commit to branch master
in repository libanyevent-handle-udp-perl.

commit 0fc10a83b1aba566eda5b4feb7ca5a338058b3c6
Author: Leon Timmermans <fawaka at gmail.com>
Date:   Sat May 26 21:57:14 2012 +0200

    Make fh an IO::Socket object
---
 Changes                    |    1 +
 lib/AnyEvent/Handle/UDP.pm |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Changes b/Changes
index 1756e29..a941fa0 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 Revision history for AnyEvent-Handle-UDP
 
 {{$NEXT}}
+          Make fh an IO::Socket object
 
 0.035     2012-05-02 23:15:17 Europe/Amsterdam
           Make dependency on Sub::Name optional
diff --git a/lib/AnyEvent/Handle/UDP.pm b/lib/AnyEvent/Handle/UDP.pm
index 1630e0f..c9d4a94 100644
--- a/lib/AnyEvent/Handle/UDP.pm
+++ b/lib/AnyEvent/Handle/UDP.pm
@@ -21,7 +21,7 @@ use namespace::clean;
 
 has fh => (
 	is => 'ro',
-	default => sub { gensym() },
+	default => sub { bless gensym(), 'IO::Socket' },
 );
 
 has _bind_addr => (

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libanyevent-handle-udp-perl.git



More information about the Pkg-perl-cvs-commits mailing list