diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-05-30 02:23:27 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-05-30 02:23:27 -0500 |
commit | 34218fd2af78b254dd424de2289981621ee85f94 (patch) | |
tree | 6285e43c4d6f1960af973c45dffb901104836ff4 /bin | |
parent | 30443a17d94ddee3b5343aefeebb46e8b7383bc1 (diff) | |
download | reply-34218fd2af78b254dd424de2289981621ee85f94.tar.gz reply-34218fd2af78b254dd424de2289981621ee85f94.zip |
use ini configuration, not perl
Diffstat (limited to 'bin')
-rw-r--r-- | bin/repl | 30 |
1 files changed, 12 insertions, 18 deletions
@@ -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] |