<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=243240114-21042008><FONT face=Arial size=2>We have a perl
script which apparently works fine on Solaris 2.8 but fails on Solaris
10</FONT></SPAN></DIV>
<DIV><SPAN class=243240114-21042008><FONT face=Arial size=2>On Solaris 10 a
comparison between to seemingly identical numbers thinks thay are different
:-</FONT></SPAN></DIV>
<DIV><SPAN class=243240114-21042008><FONT face=Arial size=2>Here's a snippet fro
the code</FONT></SPAN></DIV>
<DIV><SPAN class=243240114-21042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=243240114-21042008><FONT face=Arial><FONT
size=2> <FONT color=#0000ff>
</FONT></FONT></FONT></SPAN><FONT color=#0000ff><FONT face=Arial><FONT
size=2>print Dumper(\@prices, $price,
$columns->{$MPSET});<BR> for (my $i
= 0; $i < scalar(@{ $columns->{$MPSET} }); $i++)
{<BR>
if ($prices[$i] != $price) {<BR><SPAN
class=243240114-21042008>
</SPAN>print Dumper("DIFFER<SPAN class=243240114-21042008>ENT</SPAN>", $i,
$prices[$i],
$price);<BR>
}<BR> }<BR><SPAN
class=243240114-21042008><FONT color=#000000>And here's what it is
outputing</FONT></SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT color=#0000ff><FONT face=Arial><FONT size=2><SPAN
class=243240114-21042008>$VAR1 =
[<BR>
'1.6771678',<BR>
'1.6771678'<BR> ];<BR>$VAR2 =
'1.6771678';<BR>$VAR3 =
[<BR>
'BID',<BR>
'ASK'<BR> ];<BR>$VAR1 =
'DIFFER';<BR>$VAR2 = 0;<BR>$VAR3 = '1.6771678';<BR>$VAR4 = '1.6771678';<BR>$VAR1
= 'DIFFER';<BR>$VAR2 = 1;<BR>$VAR3 = '1.6771678';<BR>$VAR4 =
'1.6771678';<BR></SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT color=#0000ff><FONT face=Arial><FONT size=2><SPAN
class=243240114-21042008><FONT color=#000000>So, it thinks that </FONT><FONT
color=#0000ff>'1.6771678' is different from
'1.6771678';</FONT></SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT color=#0000ff><FONT face=Arial><FONT size=2><SPAN
class=243240114-21042008><FONT
color=#0000ff></FONT></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT color=#0000ff><FONT face=Arial><FONT size=2><SPAN
class=243240114-21042008><FONT color=#0000ff><FONT color=#000000>Any ideas
anyone ?</FONT></DIV>
<DIV><BR></DIV></FONT></SPAN></FONT></FONT></FONT>
<DIV><FONT color=#0000ff><FONT face=Arial><FONT color=#000000 size=2><SPAN
class=243240114-21042008></SPAN></FONT></FONT></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><FONT size=2>
<P align=left>Regards/Mit freundlichen Grüßen,</P>
<P>Tony Edwardson</P>
<P>Commerzbank AG<BR>Commerzbank Corporates & Markets<BR>ZIT-A CMA / Murex
IT Team London</P>
<P>60 Gracechurch Street</P>
<P>London EC3V 0HR</P>
<P>United Kingdom</P>
<P>+44-207-469-3452</P>
<P><A
href="mailto:tony.edwardson@commerzbank.com">tony.edwardson@commerzbank.com</A></P></FONT></FONT></DIV>
<DIV align=left><FONT face=Arial size=2>-- </FONT></DIV>
<DIV> </DIV></BODY></HTML>