standardize on strictures+autodie+Test::Most where applicable
[p5sagit/Promulger.git] / lib / App / Promulger / Command / newlist.pm
index d9338fb..d05a38b 100644 (file)
@@ -1,6 +1,6 @@
 package App::Promulger::Command::newlist;
-use strict;
-use warnings;
+use strictures 1;
+use autodie;
 
 use App::Promulger -command;
 use Promulger::List;
@@ -16,6 +16,8 @@ sub run {
   my $listname = $args->[0];
   my $list = Promulger::List->new(
     listname  => $listname,
+    active => 1,
+    subscribers => {},
   );
   $list->setup;
 }