standardize on strictures+autodie+Test::Most where applicable
[p5sagit/Promulger.git] / lib / App / Promulger / Command / msg.pm
CommitLineData
f5baca29 1package App::Promulger::Command::msg;
2a007b5a 2use strictures 1;
3use autodie;
f5baca29 4
5use App::Promulger -command;
6use parent 'App::Promulger::Command';
7use Promulger::Dispatch;
8
9sub abstract {
10 return "interacts with a list";
11}
12
13sub run {
14 my ($self, $opt, $args) = @_;
15 my $message = do {
16 local $/;
17 <STDIN>
18 };
9e4ca637 19 Promulger::Dispatch->new->dispatch($message);
f5baca29 20}
21
9bfd7b60 22'Engage';