in reply to Re: RFC: POE::Wheel::ReadLine::Gnu
in thread RFC: POE::Wheel::ReadLine::Gnu

Have you checked whether POE::Wheel::ReadLine::Gnu passes POE::Wheel::ReadLine's tests?

Not yet, since I'm pretty sure it doesn't pass the tests - for now. I wanted to have that working first, and care about compatibility and tests later... Ill update the OP with results as I get them.

Thanks for answering; I'll notice the mailing list.

update: ...and thank you for POE! It rocks! ;-)

update 2: Test output:

perl t/30_loops/00_base/wheel_readline-gnu.pm 1..6 ok 1 - plain typing ok 2 - backspace ok 3 - forward/backward not ok 4 - delete words # Failed test 'delete words' # at t/30_loops/00_base/wheel_readline-gnu.pm line 306. # got: ' two four' # expected: 'two four' ok 5 - case changes not ok 6 - transpose # Failed test 'transpose' # at t/30_loops/00_base/wheel_readline-gnu.pm line 306. # got: 'two one 12' # expected: 'two one 21' # Looks like you failed 2 tests of 6.

The failures only show differences between the two implementations; for GNU readline:

The tests for POE::Wheel::ReadLine are far from complete; I didn't yet look into the arguments to new() and how they would translate to P::W::RL::Gnu, so I suspect incompatibilities in areas not covered by the tests (yet).

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}