summaryrefslogtreecommitdiffstats
path: root/bin/repl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/repl')
-rw-r--r--bin/repl30
1 files changed, 12 insertions, 18 deletions
diff --git a/bin/repl b/bin/repl
index 9b41333..f41f4fd 100644
--- a/bin/repl
+++ b/bin/repl
@@ -7,7 +7,7 @@ use App::REPL;
my $cfg = "$ENV{HOME}/.replrc";
-my %args = (script => $cfg);
+my %args = (config => $cfg);
if (!-e $cfg) {
print("$cfg not found. Generating a default...\n");
if (open my $fh, '>', $cfg) {
@@ -23,20 +23,14 @@ if (!-e $cfg) {
App::REPL->new(%args)->run;
__DATA__
-load_plugin
- 'Interrupt',
-
- 'FancyPrompt',
- 'DataDumper',
-
- 'Colors',
- 'ReadLine',
- 'Hints',
- 'Packages',
- 'LexicalPersistence',
- ;
-
-postlude <<POSTLUDE;
-use strict;
-use warnings;
-POSTLUDE
+script_line1 = use strict
+script_line2 = use warnings
+
+[Interrupt]
+[FancyPrompt]
+[DataDumper]
+[Colors]
+[ReadLine]
+[Hints]
+[Packages]
+[LexicalPersistence]