View Single Post
  #13  
Old 09-05-2004, 01:03 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

Quote:
perl is a rather loose language and as such you won't get compilation errors
No, perl is not loose

It makes perfect sense to write $string1==$string2, it means 'are they the same scalar object ?' , that's why you get no error.

Testing string for equalty requires the eq operator
Testing for identity requires ==


***edit ***
if what's above is not clear, it means if you want to know if two string have the same value, use eq

just my 2 coppers
__________________
EQEMu Quest Repository is down until something new :(
Reply With Quote