Closed p5pRT closed 20 years ago
The following codes behaviour has changed moving to 5.6.0. While accepting that ref is the correct way to do this\, is this change intentional or accidental?
$ perl5.6.0 -e 'print \@foo=~/^ARRAY/?"yes\n":"no\n"' no $ perl5.00503 -e 'print \@foo=~/^ARRAY/?"yes\n":"no\n"' yes
Note that the following both produce the same output
$ perl5.6.0 -e 'print \@foo . "\n"' $ perl5.00503 -e 'print \@foo . "\n"'
ARRAY(....)
Stephen Mulcahy writes:
The following codes behaviour has changed moving to 5.6.0.
Nope\, no change. Just a bug.
$ perl5.6.0 -e 'print \@foo=~/^ARRAY/?"yes\n":"no\n"' no
I sent a patch a week or so ago.
Ilya
Migrated from rt.perl.org#3057 (status was 'resolved')
Searchable as RT3057$