still need to fix sql to use a moch db
Robin Edwards [Thu, 18 Feb 2010 14:36:38 +0000 (14:36 +0000)]
lib/Keyword.pm
t/usecase/sql.t

index 8685b28..f5130c1 100644 (file)
@@ -41,6 +41,7 @@ sub import {
 
 #parses keyword signature
 sub keyword_parser {
+       warn Dumper @_; #need to pass @_ to KD
        my $kd = Keyword::Declare->new;
        $kd->next_token;
        $kd->skip_ws;
index 371b5b0..6eed274 100644 (file)
@@ -7,7 +7,7 @@ use Data::Dumper;
 
 ok 1;
 
-SQL::CONNECT("dbi:Pg:dbname=humus;host=localhost;port=5432");
+SQL::CONNECT("dbi:Pg:dbname=test;host=localhost;port=5432");
 
 my $r = SELECT * FROM TRACK;