summaryrefslogtreecommitdiffstats
path: root/lib/Reply/Plugin/ReadLine.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Reply/Plugin/ReadLine.pm')
-rw-r--r--lib/Reply/Plugin/ReadLine.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Reply/Plugin/ReadLine.pm b/lib/Reply/Plugin/ReadLine.pm
index 96531da..71c1f08 100644
--- a/lib/Reply/Plugin/ReadLine.pm
+++ b/lib/Reply/Plugin/ReadLine.pm
@@ -44,7 +44,7 @@ class Reply::Plugin::ReadLine extends Reply::Plugin {
has $!rl_perl5;
has $!rl_caroline;
- submethod BUILD ($opts) {
+ method BUILD ($opts) {
$!rl_gnu = $!term->ReadLine eq 'Term::ReadLine::Gnu';
$!rl_perl5 = $!term->ReadLine eq 'Term::ReadLine::Perl5';
$!rl_caroline = $!term->ReadLine eq 'Term::ReadLine::Caroline';
@@ -85,7 +85,7 @@ class Reply::Plugin::ReadLine extends Reply::Plugin {
$!term->readline($prompt);
}
- submethod DEMOLISH {
+ method DEMOLISH {
return if $!history_length == 0;
return unless $!rl_gnu || $!rl_perl5;
$!term->WriteHistory($!history_file)