},
);
+has collapse_aliases => (
+ is => 'ro',
+ default => sub { 0 }
+);
+
has always_quote => (
is => 'rw', default => sub { 1 },
trigger => sub {
+{
quote_chars => $chars, always_quote => $self->always_quote,
identifier_sep => $self->name_sep,
+ collapse_aliases => $self->collapse_aliases,
($self->case ? (lc_keywords => 1) : ()), # always 'lower' if it exists
};
}
or (ref($where) eq 'REF' and ref($$where) eq 'ARRAY')
) {
return $self->_literal_to_dq($$where);
+ } elsif (ref($where) eq 'REF' and ref($$where) eq 'HASH') {
+ return $$where;
} elsif (!ref($where) or Scalar::Util::blessed($where)) {
return $self->_value_to_dq($where);
}