>>>>> "Ritwik" == Ritwik <ritwik1@gmail.com> writes: Ritwik> Thanks a lot. While experimenting I just observed:- Ritwik> the following code: Ritwik> ================ Ritwik> $x = "0xA"; Ritwik> if ($x >= 0xA && <= 0xE) { Ritwik> print ("MATCH\n"); Ritwik> } Ritwik> ================ Ritwik> The above code snippet:- Ritwik> Doesn;t work with perl -> 5.10.1, 5.8.2, 5.8.3, 5.8.7, 5.8.9 Ritwik> However this works with -> 5.6.0 Not surprising. 5.6 is long ago deprecated. 5.8.x is still in long-term maintenance. You should be moving to 5.10.x now that 5.12.x is already available. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussionThread Previous | Thread Next