diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-04-25 14:22:09 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-04-25 14:22:09 -0500 |
commit | 83250fffbbff4fe92a27778a99e3c6dd7fd729c9 (patch) | |
tree | 5c541b8326b6eadb219ac078c419707bacb120b4 | |
parent | 7256a9a79a0b2e6619e5a931197d6c6a830fa982 (diff) | |
download | conf-83250fffbbff4fe92a27778a99e3c6dd7fd729c9.tar.gz conf-83250fffbbff4fe92a27778a99e3c6dd7fd729c9.zip |
don't stick 'lib' into @INC until we're done initializing
-rw-r--r-- | re.pl/repl.rc | 4 |
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: |