From d34cd99a53811bed227f1246ac5926e8815e23d8 Mon Sep 17 00:00:00 2001 From: "Anders S. Mortensen" Date: Thu, 28 Jun 2007 13:59:31 +0000 Subject: [PATCH] Extract string from parameters in a more flexible way. --- lib/ZOOM/IRSpy/Utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } -- 1.7.10.4