X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=bin%2Fezpz-repl;h=8fbb122c9488e9a38d213fd07b29e214dcf985b0;hb=98165a005ac369f21b5cc5a5d384381464b7a1ca;hp=fff851c4eb9a8c6f2df20e7434b9bb664837c415;hpb=c5f4b6d4439311a9459eddf55085115bfb2b9e0a;p=scpubgit%2FApp-EzPz.git diff --git a/bin/ezpz-repl b/bin/ezpz-repl index fff851c..8fbb122 100755 --- a/bin/ezpz-repl +++ b/bin/ezpz-repl @@ -1,9 +1,13 @@ #!/usr/bin/env perl +use lib (-d 'lib' ? ('lib') : ()); use File::Which; use Email::EzPz::List; use strictures 1; +die "Usage: ezpz-repl ezmlm-bindir list-dir" + unless @ARGV == 2; + { package Eval::WithLexicals::Scratchpad; @@ -16,5 +20,3 @@ use strictures 1; } do +which('tinyrepl'); - -exit 0;