You are using numeric comparsion when you want string(change to lt (less
than), le (less than and equal), etc.

        so 'a'< 'b' should be 'a' lt 'b'

Wags ;)

-----Original Message-----
From: Nick Transier [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 12:31
To: [EMAIL PROTECTED]
Subject: comparing strings


Does anyone know a way to make boolean comparisons between strings?
For example, I want 'a' < 'b' to be true, but perl says 'a' == 'b' is true.

Thanks,
-Nick
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to