develooper Front page | perl.perl5.porters | Postings from February 2000

5.5.640, on purpose? map { 1, $_ } @_

Thread Next
From:
Pixel
Date:
February 4, 2000 04:25
Subject:
5.5.640, on purpose? map { 1, $_ } @_
Message ID:
lyya916tlb.fsf@leia.mandrakesoft.com
map { 1, $_ } @_

this one now needs explicit {; 1,$_ } or { (1,$_) }
(worked with previous version)

i'm just wondering if this is done on purpose or not.
<http://bugs.perl.org/pbdb.cgi?req=tidmids&tidmids=19991201.001>
is a previous question about this (but for 5.005.03 and more)

there's also bug report 20000118.005



also, i don't know if this is of interest as it must be already known:

pixel@kenobi:~/rpm/BUILD/perl5.5.640>./perl t/op/cmp.t | grep "not ok"
not ok 7 (s <=> NaN) gives: '-1'
not ok 21 (N/A <=> NaN) gives: '-1'
not ok 33 (a <=> NaN) gives: '-1'
not ok 43 (NaN <=> NaN) gives: '-1'
not ok 45 (NaN <=> -1) gives: '-1'
not ok 47 (NaN <=> ) gives: '-1'
not ok 49 (NaN <=> 0) gives: '-1'
not ok 51 (NaN <=> 1) gives: '-1'

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About