X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2FZOOM%2FIRSpy%2FUtils.pm;h=a59442b469b836529d7ca10e7541e787b2155926;hb=214bedd952e022f180b0ef716acc22d6a909a833;hp=75a7bf654c3952cfd5c1adc591dae3ef8377d484;hpb=3500a3bcd22ae868037a7b203e7984eb2ca73fe7;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Utils.pm b/lib/ZOOM/IRSpy/Utils.pm index 75a7bf6..a59442b 100644 --- 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"; }