
ichi
User
Jul 4, 2009, 8:01 PM
Views: 3653
|
|
Re: [vikas.deep] How do I do this...
|
|
|
YOU can't have best of both the worlds or (if I am right) have a cake and eat it too. You hate to use two different syntaxs for equality but you forgot that perl has simplified variable declaration by letting you to use a scalar($) for whatever be the value. It is precisely for this reason that there are two different syntaxes for equality because how will perl know that that $something is a number or string. yes i can. i can switch to a language that doesn't have that kind of distinction. eg Python here, i can use == for both. Now i can have my cake and eat it. As for the rest of your comments, sorry but i won't bother understanding and replying them since they are OT.
(This post was edited by ichi on Jul 4, 2009, 8:03 PM)
|