projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3d47a30
)
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
5b48dcf
..
0c99319
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;