Rocco Caputo wrote:
> 
> It makes sense to add synchronization and error detection for sending
> data across bare serial lines, but I'm more inclined to fix up
> Filter::Block than to add another filter that duplicates a lot of its
> work.

I'd be disinclined - I already think it's a bit "feature creep" to have
both fixed length and length prepended blocks as one filter. But having
Filter::Block and Filter::Block::Variable might be a good way to slice
it.

> You're free to distribute SyncStream as a separate module, though.  I
> can assist in making a distribution out of it and acquiring a CPAN ID
> if you don't already have one.

Thanks :-) I may take you up on that, although possibly after
considering a redesign with flow control characters as you described.

> More exciting, and possibly warranting a separate filter (although it
> could just be another option in Filter::Block), would be something
> that uses the proper ASCII control characters to define records and
> transmissions.  Here are some of the control characters and their
> meanings:

Hmm, that is pretty interesting, I may redesign SyncStream to use that
lot.

Do you know any site that has verbose details of how those are all
traditionally used?

Reply via email to