projects
/
scpubgit/Q-Branch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
48b71e3
)
allow plain - to fall through in hashpair expansion
Matt S Trout [Fri, 17 May 2019 02:20:57 +0000 (
02:20
+0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
efa1e8a
..
ea1a508
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-584,7
+584,7
@@
sub _expand_hashpair {
}
puke "Supplying an empty left hand side argument is not supported";
}
- if ($k =~ /^-/) {
+ if ($k =~ /^-./) {
return $self->_expand_hashpair_op($k, $v);
} elsif ($k =~ /^[^\w]/i) {
my ($lhs, @rhs) = @$v;