Commit f759ab8b97 for perl

commit f759ab8b97ee9734602328f6b010f5ab7b246e96
Author: Fabrizio Gennari <fabrizio.ge@tiscali.it>
Date:   Fri Nov 6 08:32:49 2026 +0100

    Add support for Caroline to Term::ReadLine

    Term::ReadLine supports various implementations, one of which is Term::ReadLine::EditLine, a Perl interface for editline, a library that provides functionality similar to GNU Readline, but for BSD-like Unix.
    However, Term::ReadLine::EditLine is unmaintained, and its previous maintainer made a new pod, Caroline, that provides the same functionality but it is more feature-rich.

    This patch adds support for Term::ReadLine::Caroline, included in the pod Caroline. It does not remove support for the old Term::ReadLine::EditLine to be on the safe side (its removal can be considered, however), Caroline will have priority

diff --git a/AUTHORS b/AUTHORS
index e5c9b9f7a6..66c0c7a408 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -486,6 +486,7 @@ Eugene Alvin Villar            <seav80@gmail.com>
 Evan Miller                    <eam@frap.net>
 Evan Zacks                     <zackse@cpan.org>
 Fabien Tassin                  <tassin@eerie.fr>
+Fabrizio Gennari               <fabrizio.ge@tiscali.it>
 Father Chrysostomos            <sprout@cpan.org>
 Felipe Gasper                  <felipe@felipegasper.com>
 Felix Gallo                    <fgallo@etoys.com>
diff --git a/dist/Term-ReadLine/lib/Term/ReadLine.pm b/dist/Term-ReadLine/lib/Term/ReadLine.pm
index 78c1ebf5b6..f13828f269 100644
--- a/dist/Term-ReadLine/lib/Term/ReadLine.pm
+++ b/dist/Term-ReadLine/lib/Term/ReadLine.pm
@@ -326,7 +326,7 @@ sub Features { \%features }

 package Term::ReadLine;		# So late to allow the above code be defined?

-our $VERSION = '1.17';
+our $VERSION = '1.18';

 my ($which) = exists $ENV{PERL_RL} ? split /\s+/, $ENV{PERL_RL} : undef;
 if ($which) {
@@ -343,7 +343,7 @@ if ($which) {
 } elsif (defined $which and $which ne '') {	# Defined but false
   # Do nothing fancy
 } else {
-  eval "use Term::ReadLine::Gnu; 1" or eval "use Term::ReadLine::EditLine; 1" or eval "use Term::ReadLine::Perl; 1";
+  eval "use Term::ReadLine::Gnu; 1" or eval "use Term::ReadLine::Caroline; 1" or eval "use Term::ReadLine::EditLine; 1" or eval "use Term::ReadLine::Perl; 1";
 }

 #require FileHandle;
@@ -353,6 +353,8 @@ if ($which) {
 our @ISA;
 if (defined &Term::ReadLine::Gnu::readline) {
   @ISA = qw(Term::ReadLine::Gnu Term::ReadLine::Stub);
+} elsif (defined &Term::ReadLine::Caroline::readline) {
+  @ISA = qw(Term::ReadLine::Caroline Term::ReadLine::Stub);
 } elsif (defined &Term::ReadLine::EditLine::readline) {
   @ISA = qw(Term::ReadLine::EditLine Term::ReadLine::Stub);
 } elsif (defined &Term::ReadLine::Perl::readline) {