http://www.perlmonks.org?node_id=1073237


in reply to term::readline::gnu extra spaces on completion

Are you sure you are actually running Term::Readline::Gnu? Unless $ENV{PERL_RL} specifies ortherwise, Term::ReadLine indeed tries to use Term::ReadLine::Gnu first, then the EditLine version if it failed, then the Perl version, and at last if all else failed, defaults to Term::ReadLine::Stub where Attribs is defined as : sub Attribs { {} }

Try printing @Term::ReadLine::ISA or the output of Term::ReadLine::Readline() to see which version you are actually using.