Permalink
Browse files

added Dist-Zilla-Plugin-Git to dist.ini

  • Loading branch information...
1 parent 9c5699c commit a2177609fd64d5a8a80d1d5003946edfb9f4c1cb @timbunce committed Jul 27, 2010
Showing with 4 additions and 2 deletions.
  1. +3 −2 dbdi.pl6
  2. +1 −0 dist.ini
View
5 dbdi.pl6
@@ -3,9 +3,10 @@ use v6;
use DBDI;
use DBDI_pg;
-my $dbname = @*ARGS.shift || prompt 'Database: ';
+# e.g. "dbdi:postgres:dbname=$dbname"
+my $url = @*ARGS.shift || prompt "Enter a 'dbdi:driver:...' URL: ";
-my $con = DBDI::DriverManager.getConnection("dbdi:postgres:dbname=$dbname", 'testuser', 'testpass');
+my $con = DBDI::DriverManager.getConnection($url, 'testuser', 'testpass');
while prompt 'SQL: ' -> $sql {
View
1 dist.ini
@@ -19,6 +19,7 @@ copyright_holder = Tim Bunce <Tim.Bunce@pobox.com>
[ShareDir]
[MakeMaker]
[Manifest]
+[Git::CommitBuild]
[TestRelease]
[ConfirmRelease]
[UploadToCPAN]

0 comments on commit a217760

Please sign in to comment.