Do you know where your variables are? | |
PerlMonks |
Re: how to control segmented messages in TCP chat clientby Athanasius (Archbishop) |
on Aug 24, 2014 at 03:39 UTC ( [id://1098442]=note: print w/replies, xml ) | Need Help?? |
Hello thanos1983, This is not an answer to your question, just an observation on one part of the code. In Client.pl there is a subroutine sub receive which references $_[0], i.e. the first argument passed into the sub. This subroutine is called three times within Client.pl, each time like this:
with no arguments passed in. So $_[0] is in all cases uninitialised, and the sub call accomplishes nothing. Hope that helps,
In Section
Seekers of Perl Wisdom
|
|