On 8/15/2010 9:47 AM, Chris Marshall wrote: > On 8/14/2010 7:21 PM, Daniel Carrera wrote: >> On Sun, Aug 15, 2010 at 12:56 AM, Chris Marshall wrote: >>> Yes, but that isn't the best solution since both >>> perldl and pdl2 need Term::ReadLine. >> >> I just checked. At least on Ubuntu, the perldl shell does function >> without ReadLine. You just lose a lot of useful functionality. You >> can't use the arrow keys. But otherwise it runs without error and >> "exit" doesn't produce any errors. >> >> That said, ReadLine really makes the shell a lot more pleasant. So as >> long as it doesn't cause problems for users I am in favour of making >> it a dependency. > > I took a further look at the problem and the issue > is that some of the Devel::REPL plugins for completion, > history, and line editing are not safe against the > presence of Term::ReadLine::Stub for the implementation. > > I'll add the check to the pdl2 shell and fallback to > perldl if either Term::ReadLine::Gnu or Term::ReadLine::Perl > is not being used. After our official release, I plan to > fix the issue in Devel::REPL.
The work around escape to perldl is now in PDL git. The only change was in the file PDL/Perldl2/Profile/Perldl2 where the check is made, the version updated to 0.004 and the POD cleaned up a bit. Cheers, Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
