RE: String/Number differentiation

2001-09-17 Thread Sterin, Ilya
om: Simon Cozens [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 17, 2001 7:15 PM > To: Dan Sugalski > Cc: Sterin, Ilya; ''[EMAIL PROTECTED] ' ' > Subject: Re: String/Number differentiation > > > On Mon, Sep 17, 2001 at 07:09:56PM -0400, Dan Sugalski wrote: &g

Re: String/Number differentiation

2001-09-17 Thread Simon Cozens
On Mon, Sep 17, 2001 at 07:09:56PM -0400, Dan Sugalski wrote: > At 03:49 PM 9/17/2001 -0600, Sterin, Ilya wrote: > >I guess the problem can be easily solved by converting to integer if a > >mathematical operation is performed, or a similar behavior. > > > >@array = ("one", "two", 3); > > > >All ar

RE: String/Number differentiation

2001-09-17 Thread Dan Sugalski
At 03:49 PM 9/17/2001 -0600, Sterin, Ilya wrote: >I guess the problem can be easily solved by converting to integer if a >mathematical operation is performed, or a similar behavior. > >@array = ("one", "two", 3); > >All are now internally strings Yech. With perl 6 they'll probably be two strings

RE: String/Number differentiation

2001-09-17 Thread Sterin, Ilya
AIL PROTECTED] ' Sent: 9/17/01 3:25 PM Subject: Re: String/Number differentiation At 11:18 AM 9/17/2001 -0600, Sterin, Ilya wrote: >I don't know if this has already been discussed, or is out of the question, >but I wonder since perl does not currently differentiate between num

Re: String/Number differentiation

2001-09-17 Thread Dan Sugalski
At 11:18 AM 9/17/2001 -0600, Sterin, Ilya wrote: >I don't know if this has already been discussed, or is out of the question, >but I wonder since perl does not currently differentiate between numbers and >string, and when it does, it does so very inconsistantly, is there be any >hope for any chang

String/Number differentiation

2001-09-17 Thread Sterin, Ilya
I don't know if this has already been discussed, or is out of the question, but I wonder since perl does not currently differentiate between numbers and string, and when it does, it does so very inconsistantly, is there be any hope for any changes/modificatins for Perl 6. Many can argue that this