John confessed:
> I unconsciously typed *both* //= and $( ... ) today :P ;)
We are Perl6. Resistance is futile. You *will* be assimilated.
;-)
Damian
PS: If you're keen on $(...) and @(...), grab the wonderful
Perl6::Interpolators module from the CPAN.
> But I assume that == means numerically equal (and here I could be
> wrong). If what I assume is true however, then anything which doesn't
> have any numerical meaning, numerically compared to anything (even to
> itself) should not return the misleading result that the two compared
On Thu, 4 Oct 2001 11:21:41 -0700 (PDT), esp5 wrote:
>> Sure it doesn't pick up everything (late compilation), but in the 1056 files
>> I have there I had exactly 7 occurances of bit operators. This does not
>> impress me enough to use valuable punctuation.
>
>Now, I just tried it on perl5.6.1,
I unconsciously typed *both* //= and $( ... ) today :P ;)
-John
On Mon, Oct 08, 2001 at 03:23:22PM +0200, Bart Lateur wrote:
> On Sat, 6 Oct 2001 19:48:13 -0400, Michael G Schwern wrote:
>
> >> What about zero.
> >
> >No problem in Perl 6.
> >
> >my $foo = %hash{foo} // 'some default';
>
> And nobody will ever confuse this operator with the "comment till
Dan Sugalski wrote:
> At 09:07 AM 10/8/2001 +1000, Damian Conway wrote:
> >I see your (and others') point here, but I view NaN as a *marker* indicating
> >a non-numeric result. Markers should always compare equal to themselves.
> >(Frankly, *everything* should compare equal to itself -- which is
Bart Lateur wrote:
> On Sat, 6 Oct 2001 19:48:13 -0400, Michael G Schwern wrote:
>
> >> What about zero.
> >
> >No problem in Perl 6.
> >
> >my $foo = %hash{foo} // 'some default';
>
> And nobody will ever confuse this operator with the "comment till end of
> line" marker in C++, Java and Jav
At 09:07 AM 10/8/2001 +1000, Damian Conway wrote:
>I see your (and others') point here, but I view NaN as a *marker* indicating
>a non-numeric result. Markers should always compare equal to themselves.
>(Frankly, *everything* should compare equal to itself -- which is where
>IEEE 754 goes horribly
On Sat, 6 Oct 2001 19:48:13 -0400, Michael G Schwern wrote:
>> What about zero.
>
>No problem in Perl 6.
>
>my $foo = %hash{foo} // 'some default';
And nobody will ever confuse this operator with the "comment till end of
line" marker in C++, Java and Javascript, and many more I suppose.
--
Damian Conway wrote:
> RaFaL asked:
>
>> So OK, tell me if I get it right, and how (and why) it will look in Perl
>> 6. From Exegesis I see that NaN==NaN, but that's not stated in
>> Apocalypse (or I just missed it).
>
> No, it's not stated there. But I hope that Perl 6 will follow th
I find underscore also a little bit mesleading, but at least will not broke
my code (I was never using underscore in identifiers, I'm using Upercassing
i.e. $yetAnotherVar )
:")
=
iVAN
[EMAIL PROTECTED]
=
PS. it is time new keyboard to be invented :")
11 matches
Mail list logo