GoTerpsGo has asked for the wisdom of the Perl Monks concerning the following question:
I was just informed by my users that not only do they want to use a script that captures content coming from a Cisco router's serial port, they want to be able to still issue commands via the same port. Now my initial script uses Win32::SerialPort but then they can't access that port via a terminal app when the script is running. Does anyone know how I could go about writing a serial port sniffer? Thx.
Unless you want to write a kernel mode filter driver to insert into the serial port's driver stack, you can't do it. Such a driver you can not write in Perl btw.
A better solution is to combine the logging and management (terminal app replacement) applications into one.