projects
/
ZOOM-Perl-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Ubuntu quantal
[ZOOM-Perl-moved-to-github.git]
/
lib
/
ZOOM.pm
diff --git
a/lib/ZOOM.pm
b/lib/ZOOM.pm
index
8c97dae
..
6b2f8c9
100644
(file)
--- a/
lib/ZOOM.pm
+++ b/
lib/ZOOM.pm
@@
-1,5
+1,3
@@
-# $Id: ZOOM.pm,v 1.50 2008-05-14 13:33:31 mike Exp $
-
use strict;
use warnings;
use IO::File;
use strict;
use warnings;
use IO::File;
@@
-580,6
+578,14
@@
sub sortby {
or ZOOM::_oops(ZOOM::Error::SORTBY, $sortby);
}
or ZOOM::_oops(ZOOM::Error::SORTBY, $sortby);
}
+sub sortby2 {
+ my $this = shift();
+ my($strategy, $sortby) = @_;
+
+ Net::Z3950::ZOOM::query_sortby2($this->_query(), $strategy, $sortby) == 0
+ or ZOOM::_oops(ZOOM::Error::SORTBY, $sortby);
+}
+
sub destroy {
my $this = shift();
sub destroy {
my $this = shift();