NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
on a sidenote.. (Score:1)
history_sizeinstead ofhistoryto avoid confusion. but i agree what you have said.Reply to This
Re: (Score:1)
Most of the time, the method is used to get the whole history as an array.
To give a more concrete background, I was working with the
GetHistorymethod fromTerm::ReadLine::Gnu,Term::ReadLine::PerlandTerm::ReadLine::Zoidwhen used byShell::Base. That said, instead of trying to convince all involved authors to change code or/and documentation, I tried to work with the contrived and actual API.I agree that introducing a
GetHistorySizemethod would eliminate instantly the problem associated to the ov