summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-04-25 14:22:09 -0500
committerJesse Luehrs <doy@tozt.net>2011-04-25 14:22:09 -0500
commit83250fffbbff4fe92a27778a99e3c6dd7fd729c9 (patch)
tree5c541b8326b6eadb219ac078c419707bacb120b4
parent7256a9a79a0b2e6619e5a931197d6c6a830fa982 (diff)
downloadconf-83250fffbbff4fe92a27778a99e3c6dd7fd729c9.tar.gz
conf-83250fffbbff4fe92a27778a99e3c6dd7fd729c9.zip
don't stick 'lib' into @INC until we're done initializing
-rw-r--r--re.pl/repl.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/re.pl/repl.rc b/re.pl/repl.rc
index 64ef8d2..bed8edb 100644
--- a/re.pl/repl.rc
+++ b/re.pl/repl.rc
@@ -1,6 +1,5 @@
# set up Devel::REPL
{
- use lib 'lib';
use Term::ANSIColor;
my @plugins = (
@@ -77,4 +76,7 @@
# stuff that needs to be lexical
use 5.010; # would be nice if it was possible to do this conditionally
+# do this last (and at runtime) so the previous stuff doesn't see it
+unshift @INC, 'lib';
+
# vim:filetype=perl: