Device-SerialPort

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

 t/test3.t		- Inheritance and export version of test1.t
 t/test4.t		- Inheritance version of test2.t and "restart"

 eg/any_os.plx		- cross-platform "conditional use" demo
 eg/demo1.plx		- talks to a "really dumb" terminal
 eg/demo2.plx		- "poor man's" readline and chatV
 eg/demo3.plx		- looks like a setup menu - but only looks :-(
 eg/demo4.plx		- simplest setup: "new", "required param"
 eg/demo5.plx		- "waitfor" and "nextline" using lookfor
 eg/demo6.plx		- basic tied FileHandle operations, record separators
 eg/demo7.plx		- a Perl/Tk based terminal, event loop and callbacks
 eg/demo8.plx		- command line terminal emulator with Term::Readkey
 eq/options.plx		- post-install test that prints available options
 eg/example1.txt	- examples from The Perl Journal #13
 eg/example2.txt	- (minimal mods for cross-platform use)
 eg/example3.txt
 eg/example4.txt
 eg/example5.txt
 eg/example6.txt
 eg/example7.txt
 eg/example8.txt

README  view on Meta::CPAN

default "stty" settings work with a VT-100 style terminal. You may
have to set the options by hand. Use any editor. Let me know if the
descriptions in the documentation are useable. And if any more options
are necessary.

Demo6.plx demonstrates tied FileHandles. Perl 5.005 is recommended.
It "requires" 5.004. It implements timeouts on all user inputs - so
you can run it "hands-off" to see what happens.

Demo7.plx uses Tk to create a terminal emulator. Its included to show
polling and callbacks using an event loop.

Demo8.plx is a simple command-line terminal emulator contributed by
Andrej Mikus.

The Perl Journal #13 included an article on Controlling a Modem with
Win32::SerialPort. Slightly revised versions of all the Examples
from the article are included in the "eg" subdirectory. The revisions
cover cross-platform use and workarounds for small timing differences.

Please tell me what does and what doesn't work. The module has proven



( run in 0.291 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )