Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is there any way to store more than 14 characters in the variable. Also, any sample "serial port" code would be helpful. Thanks for your help, Jason$ob->lookclear; #clear the buffers $ob->buffers(4096,4096); #read, write sleep 1; until($return ne "") { if (($return = $ob->input) ne "") { $ob->write ($return); print "return:$return a"; } else { print "ERROR!! Did not receive a page yet!\n"; } }#end until print "return is:$return"; undef $ob;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading data from the Serial Port
by BrowserUk (Patriarch) on Aug 01, 2002 at 00:43 UTC | |
by talexb (Chancellor) on Aug 01, 2002 at 03:11 UTC | |
by BrowserUk (Patriarch) on Aug 01, 2002 at 03:21 UTC | |
|
Re: Reading data from the Serial Port
by talexb (Chancellor) on Aug 01, 2002 at 00:19 UTC | |
by Anonymous Monk on Aug 01, 2002 at 00:43 UTC | |
by talexb (Chancellor) on Aug 01, 2002 at 03:19 UTC | |
|
Re: Reading data from the Serial Port
by Nitrox (Chaplain) on Aug 01, 2002 at 04:06 UTC |