X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FUtils.pm;h=a59442b469b836529d7ca10e7541e787b2155926;hp=75a7bf654c3952cfd5c1adc591dae3ef8377d484;hb=d34cd99a53811bed227f1246ac5926e8815e23d8;hpb=8767806ed4a20db16d29dcc5d3479a277c95d263 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"; }