in reply to serial barcode scanner + perl
Write another program that monitors the file/database for new/unprocessed records (keep a log of the records that you've successfully read/processed, or include a flag for that in each database record as well). You can run this at whatever terminal you want and echo the raw/processed results to the screen.
As far as the monitor program is concerned, it doesn't know/care whether the input is coming straight from a port or file.
Hope this helps.
"Make everything as simple as possible, but not simpler." -- Albert Einstein
|
|---|