Initializing...

2002-09-05 Thread Elliot Tobin
If my constructor takes four arguments, ala: my ($instanceName, $instanceHost, $instanceUser, $instancePass) = @_; What's an eloquent way of looping through those four and setting their value to "" if there are no arguments passed? -=[ Elliot @ pixeltree.org ]=- -- To unsubscribe, e-mail:

non-member submission: TCP server

2002-10-30 Thread Elliot Tobin
I have a TCP server listening on a socket, receiving data using the following line: my $res = $clientSocket->recv($inputBuffer, 1024); The problem is, when it gets the data and prints it, it doesn't wait for an enter, it just takes what it gets in, maybe 0.05 seconds and outputs it, and so for