Has anybody written a Filter that passes lines of I/O through
URI::Escape?  Currently, I'm doing it manually on each call i.e.
$wheel->put( uri_escape($buffer) ); or $buffer = uri_unescape($buffer);,
but it'd be sweet if there was a POE::Filter that wrapped it all up. 
I've looked at writing one, but I'm under a tight schedule right now. 
If there is enough interest and nobody else wants to write it, I'll hack
at it in a couple/few weeks.

The main drive for this is that I'm using POE::Filter::Line to pass data
between a controller and a slave on different hosts and I want to
encapsulate arbitrary data into a single line or "packet" and not have
to do any special delimitation.  URI::Escape takes care of most cases
for me (mostly newlines and whitespace).  Anyways, I've got most of the
ugliness wrapped up in nice events so the URI:: stuff isn't exposed all
over the place, but I think it'd be an appropriate Filter.

Any thoughts, ideas?

-Al Tobey
Unix Administrator
Jack-Of-All-Trades, Master at Some.






********************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed.  If you have received this 
email in error please notify the Priority Health Information
Services Department at (616) 942-0954.
********************************************************************

Reply via email to