projects
/
dbsrgits/SQL-Translator-2.0-ish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d990ef5
)
add predicates for parser_args/producer_args
Justin Hunter [Tue, 8 Sep 2009 18:59:37 +0000 (11:59 -0700)]
lib/SQL/Translator.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator.pm
b/lib/SQL/Translator.pm
index
72541f9
..
f1fc0f0
100644
(file)
--- a/
lib/SQL/Translator.pm
+++ b/
lib/SQL/Translator.pm
@@
-47,11
+47,13
@@
class SQL::Translator {
has 'parser_args' => (
isa => HashRef,
is => 'rw',
+ predicate => 'has_parser_args',
);
has 'producer_args' => (
isa => HashRef,
is => 'rw',
+ predicate => 'has_producer_args',
);
has 'add_drop_table' => (isa => Bool, is => 'rw', default => 0);