in reply to need to capture serial port output

Device::SerialPort might give you what you need.

"Pain is weakness leaving the body, I find myself in pain everyday" -me