Re: Problem with Perl and Fedora Core 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-02-16 at 10:51 -0300, Alexandre de Abreu wrote:
> Try to use "eq" to compare between numbers. The "==" is used for string 
> comparing. Maybe it isn't getting into the right way.
> 

incorrect. From perldoc perlop:

       Equality Operators
 
       Binary "==" returns true if the left argument is numerically
equal to the right argument.

and

       Binary "eq" returns true if the left argument is stringwise equal
to the right argument.
 

-- 
Jeff Macdonald <jeff.macdonald@xxxxxxxxxxxxxxxxxx>
My birding blog: http://www.virtualbuilder.com/archives/cat_birding.html
Into birding? Visit http://www.migratus.com

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux