Fixed too long password for mysql. Fixed no enable-drupal target. Fixed no email...
[prj-utils.git] / prj-create-module-perl
1 #!/usr/bin/env perl
2
3 use strict;
4 use warnings;
5 use Config::General;
6
7 if (! $ARGV[0]) {
8   print "Just a simple wrapper over module-starter\n";
9   print "USAGE: prj-create-module-perl.pl [Module::Name]'\n";
10   print "       Creates perl module in curent working directory.\n";
11   exit;
12 }
13
14 my $conf = new Config::General("config");
15 my %config = $conf->getall;
16
17
18 `module-starter --module="$ARGV[0]" --author="$config{author}" --email="$config{email}"`;
19