Skip to content

Commit

Permalink
added makefile with dependency checks and some other goodies
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jan 4, 2012
1 parent b3b9129 commit a219987
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
17 changes: 17 additions & 0 deletions Makefile.PL
@@ -0,0 +1,17 @@
use inc::Module::Install;

name 'bdshell';
license 'perl';
all_from 'script/bdshell';

requires 'autodie';
requires 'IO::File';
requires 'Getopt::Long';
requires 'Pod::Usage';
requires 'DBD::Pg';

install_script 'bdshell';

WriteAll;

1;
11 changes: 6 additions & 5 deletions bdshell → script/bdshell
@@ -1,18 +1,19 @@
#!/usr/bin/env perl
use Carp;
use feature ':5.10';
use 5.10.0;
use strict;
use warnings;
use autodie;
use feature ':5.10';

use XXX;
use Data::Dumper;
use autodie;
use Carp;
use DBD::Pg;
use Text::CSV;
use IO::File;
use Getopt::Long;
use Pod::Usage;

our $VERSION = '0.01';

my ($un, $db, $pw, $help, $command, $file);
my $result = GetOptions(
'username|U=s' => \$un
Expand Down

0 comments on commit a219987

Please sign in to comment.