On Mon, 2004-05-03 at 13:09, Andrew M. Langmead wrote:
> When you say "print "Response: ", <$sock>;", you are reading $sock in a
> list context.
>
> print "Response: ", scalar <$sock>;
> or
> print "Response: ". <$sock>; # but perhaps this is a little too subtle
or
print "Response: ", $sock->getline;
This is exactly what IO::Handle's getline method was designed for.
-- Jeremy
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm