This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert "Configure has a path to less and perl5db.pl can use it"
authorRafael Garcia-Suarez <rgs@consttype.org>
Sun, 28 Nov 2010 14:01:24 +0000 (15:01 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Sun, 28 Nov 2010 14:01:24 +0000 (15:01 +0100)
This reverts commit bf320d637919b3a2a72298748aa76e686e9b3e45.
Andy Dougherty points out that after Configure has run, the "less"
config variable is no longer useful, as described in Porting/Glossary.

lib/perl5db.pl

index fedcbe3..711d198 100644 (file)
@@ -7620,12 +7620,6 @@ C<$fixed_less> so we don't have to go through doing the stats again.
 
 sub fix_less {
 
-    my $config_less = eval {
-       require Config;
-       $Config::Config{less};
-    };
-    return $config_less if $config_less;
-
     # We already know if this is set.
     return if $fixed_less;