Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I would like to capture a com port output continously to a file while I do other things. Please advice on how I can do this. Should I do this in the background? If I capture the input from the comport, does that capture everything from the past?

Thank you.

Replies are listed 'Best First'.
Re: Capturing com port output
by socketdave (Curate) on Jul 14, 2005 at 21:44 UTC
    What OS are you implementing this capture on? If you're on a Unix-like machine, this module may do the trick...

    http://search.cpan.org/~andrewho/Sys-PortIO-0.1/PortIO.pm
Re: Capturing com port output
by spurperl (Priest) on Jul 15, 2005 at 04:54 UTC
Re: Capturing com port output
by displeaser (Hermit) on Jul 15, 2005 at 07:51 UTC