Suppress system Term::ReadLine::Gnu
authorPetr Písař <ppisar@redhat.com>
Mon, 8 Jul 2013 14:10:38 +0000 (16:10 +0200)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 10 Jul 2013 04:27:45 +0000 (21:27 -0700)
commitfc4b816451cc28ba7a582a778b109e5339551a65
tree7d54e658f84dc57f332b98b7116a9977de95a097
parenta76c80a7e25ec6178a519942045a9a18e598c539
Suppress system Term::ReadLine::Gnu

perl5db.t will die in Term::ReadLine if Term::ReadLine::Gnu is installed
in the system. Let's favour core implementation.

Best solution would be to prune @INC to prevent from loading already
installed modules like this:

BEGIN {
    use Config;
    @INC = grep { ! /^\Q$Config{installprefix}\E(\/|\z)/ } @INC;
}

However that is not possible (now) due to various execs (even without
proper -I) in the harness chain. perl should implement -nostdinc
option.

Signed-off-by: Petr Písař <ppisar@redhat.com>
lib/perl5db.t