in reply to serial console

I'm assuming you're on Windows. If so, the Win32::SerialPort module may help.

There are more modules to be found by searching cpan for "win32 serial"