1 package # hide from pause
2 SQL::Translator::Generator::Utils;
4 # AUTHOR: Arthur Axel fREW Schmidt
5 # Copyright: Same as Perl 5
8 use Sub::Quote 'quote_sub';
10 # this should be ro, but I have to modify it in BUILD so bleh
11 has quote_chars => ( is => 'rw' );
15 default => quote_sub q{ '.' },
18 with 'SQL::Translator::Generator::Role::Quote';
23 unless (ref($self->quote_chars)) {
24 if ($self->quote_chars) {
25 $self->quote_chars([$self->quote_chars])
27 $self->quote_chars([])