We don't bite newbies here... much | |
PerlMonks |
Re: Perl an array of socketsby NetWallah (Canon) |
on Nov 20, 2017 at 22:27 UTC ( [id://1203845]=note: print w/replies, xml ) | Need Help?? |
I have not used EV event loops, but this code looks suspicious:
You are using a GLOBAL $fh , then attaching another watcher to it that calls back "sub cliente()". Try deleting the global "my $fh", and making it local to sub incoming(). All power corrupts, but we need electricity.
In Section
Seekers of Perl Wisdom
|
|