Newsgroups: linux.debian.user
Path: not-for-mail
From: Olaf Titz <[EMAIL PROTECTED]>
Subject: Re: dpkg-ftp troubles
Message-ID: <[EMAIL PROTECTED]>
Date: 27 May 1996 13:33:38 +0100
References: <[EMAIL PROTECTED]>
 <[EMAIL PROTECTED]>
Organization: private Linux site, southern Germany
Lines: 18

This is really a perl issue, but...

Andy Guy  <[EMAIL PROTECTED]> wrote:
> Changing <=> to cmp changes the ordering I think.  My newest

<=> is a numerical compare, cmp a string compare. Even if the
variables are stripped to digits only, they still can yield different
results if any of the arguments contain leading zeroes, e.g. "1" vs.
"02".

So it's important exactly what you want to compare.

olaf
-- 
___        [EMAIL PROTECTED] or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

Reply via email to