develooper Front page | perl.beginners | Postings from February 2002

Re: Difference between == and eq

Thread Previous | Thread Next
Brett W. McCoy
February 6, 2002 07:10
Re: Difference between == and eq
Message ID:
On Wed, 6 Feb 2002, wim wrote:

> I have a small question: what's the difference between == and eq?

== is for numeric comparisons, eq is for textual comparisons.

See perldoc perlop

-- Brett
honeymoon, n.:
	A short period of doting between dating and debting.
		-- Ray C. Bandy

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About