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:
e8692a7
)
Extract string from parameters in a more flexible way.
author
Anders S. Mortensen
<sondberg@indexdata.dk>
Thu, 28 Jun 2007 13:59:31 +0000
(13:59 +0000)
committer
Anders S. Mortensen
<sondberg@indexdata.dk>
Thu, 28 Jun 2007 13:59:31 +0000
(13:59 +0000)
lib/ZOOM/IRSpy/Utils.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Utils.pm
b/lib/ZOOM/IRSpy/Utils.pm
index
75a7bf6
..
a59442b
100644
(file)
--- a/
lib/ZOOM/IRSpy/Utils.pm
+++ b/
lib/ZOOM/IRSpy/Utils.pm
@@
-1,4
+1,4
@@
-# $Id: Utils.pm,v 1.34 2007-06-27 11:08:08 mike Exp $
+# $Id: Utils.pm,v 1.35 2007-06-28 13:59:31 sondberg Exp $
package ZOOM::IRSpy::Utils;
@@
-399,7
+399,7
@@
sub inheritance_tree {
# This function is made available in xslt using the register_function call
sub xslt_strcmp {
my ($arg1, $arg2) = @_;
- return ($arg1->to_literal()) cmp ($arg2->to_literal());
+ return "$arg1" cmp "$arg2";
}