usage check for ezpz-repl
[scpubgit/App-EzPz.git] / bin / ezpz-repl
CommitLineData
c5f4b6d4 1#!/usr/bin/env perl
2
3use File::Which;
4use Email::EzPz::List;
5use strictures 1;
6
db50b585 7die "Usage: ezpz-repl ezmlm-bindir list-dir"
8 unless @ARGV == 2;
9
c5f4b6d4 10{
11 package Eval::WithLexicals::Scratchpad;
12
13 use vars qw($list);
14
15 $list = Email::EzPz::List->new(
16 ezmlm_bindir => $ARGV[0],
17 list_dir => $ARGV[1],
18 );
19}
20
21do +which('tinyrepl');
22
23exit 0;