On Sat, 27 Oct 2001, Jan wrote: > sub open > { > open("compu","+<$port") || die "opening $port failed: $!"; > system("stty 19200 -echo cstopb cbreak -parenb cs8 parodd < $port"); > compu->autoflush(1); > print "\nopened interface on port --> $port\n"; > }
Where I am getting confused is how you are using compu. Is this supposed to be an IO::Filehandle object (or do you want to use the Filehandle module), or a raw filehandle variable? it seems as if you are trying to use it interchangabely. Is compu a global variable? It isn't declared that I can see. -- Brett ------------------------------------------------------------------------ The only difference in the game of love over the last few thousand years is that they've changed trumps from clubs to diamonds. -- The Indianapolis Star -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]