Revision b7fa831d
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
scripts/console | ||
---|---|---|
12 | 12 |
use Config::Std; |
13 | 13 |
use Data::Dumper; |
14 | 14 |
use Devel::REPL 1.002001; |
15 |
use Term::ReadLine::Perl::Bind; # use sane key binding for rxvt users |
|
15 |
eval { |
|
16 |
require Term::ReadLine::Perl::Bind; # use sane key binding for rxvt users |
|
17 |
}; |
|
16 | 18 |
|
17 | 19 |
read_config 'config/console.conf' => my %config;# if -f 'config/console.conf'; |
18 | 20 |
|
... | ... | |
90 | 92 |
} |
91 | 93 |
|
92 | 94 |
sub reload { |
93 |
use Module::Reload;
|
|
95 |
require Module::Reload;
|
|
94 | 96 |
Module::Reload->check(); |
95 | 97 |
|
96 | 98 |
return "modules reloaded"; |
Auch abrufbar als: Unified diff
Zwei console Includes optional machen.
Sind beide nicht absolut notwendig.