projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b41b711
)
FEFO for irspy_search() if a hash is passed in place of a hash-reference.
author
Mike Taylor
<mike@miketaylor.org.uk>
Tue, 11 May 2010 15:17:40 +0000
(16:17 +0100)
committer
Mike Taylor
<mike@miketaylor.org.uk>
Tue, 11 May 2010 15:17:40 +0000
(16:17 +0100)
lib/ZOOM/IRSpy/Connection.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Connection.pm
b/lib/ZOOM/IRSpy/Connection.pm
index
6157f98
..
6664168
100644
(file)
--- a/
lib/ZOOM/IRSpy/Connection.pm
+++ b/
lib/ZOOM/IRSpy/Connection.pm
@@
-148,6
+148,7
@@
sub irspy_search {
my $this = shift();
my($qtype, $qstr, $udata, $options, %cb) = @_;
+ { use Carp; confess "Odd-sized hash!" if @_ % 2; }
#warn "calling $this->irspy_search(", join(", ", @_), ")\n";
$this->add_task(new ZOOM::IRSpy::Task::Search
($qtype, $qstr, $this, $udata, $options, %cb));