New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1..N not marked read only. #1842
Comments
From Albert_N._MICHEEV@f80.n5049.z2.fidonet.orgEx1: Exception: Modification of a read-only value attempted at 1.pl line 1 Ex2: Exception: Modification of a read-only value attempted at 1.pl line 1 Ex3: All OK ??? P.S.
This is perl, v5.6.0 built for MSWin32-x86-multi-thread |
From [Unknown Contact. See original ticket]Albert N. MICHEEV writes:
Why are you surprised? Did you mean map {$_ + 1} ? Ilya |
From @tamiasOn Sat, Apr 15, 2000 at 01:54:11PM -0400, Ilya Zakharevich wrote:
He's surprised because this doesn't produce the same error: @_ = map { Ronald |
From [Unknown Contact. See original ticket]On Sat, Apr 15, 2000 at 02:01:44PM -0400, Ronald J Kimball wrote:
Oh, *this* bug:
2 It was discussed here many years ago already. It is my long-held Ilya |
From @jhiOn Sat, Apr 15, 2000 at 02:31:35PM -0400, Ilya Zakharevich wrote:
$opinion = 'agreed';
|
From @jhiOn Sat, Apr 15, 2000 at 02:31:35PM -0400, Ilya Zakharevich wrote:
There's also this: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-07/msg00059.html
|
From dmacks@netspace.orgmap { $_="X" } ( "a" .. "b" ); # [1] Why does Perl not complain about [1]? It seems (to me, at least) Perl Info
|
From @floatingatollOn Tue, 30 Jan 2001 dmacks@netspace.org wrote:
$ perl -e 'map { print ++$_ . "\n" } ( 0 .. 2 )' The range expansion section in toke.c doesn't mark the SV read only when R. |
From @AbigailCreated by @Abigail This will give an error message: However: prints: I think both programs should be behave identical. Perl Info
|
From @rgarciaOn 2002.04.12 16:42 abigail@foad.org wrote:
Using B::Concise shows that the latter constructs an array. print f @{ [1,2] }; which prints "2 1". Does this count as a Feature (tm) ? In the 1..2 |
From [Unknown Contact. See original ticket]Rafael Garcia-Suarez wrote:
Not really, since
I think that the problem is that it should expand n..m lists into real -- |
From @askFWIW, this is still an issue with 5.6.1 and 5.8.0. - ask |
From @schwernStill an issue in 5.8.6 and bleadperl. |
From module@renee-baecker.deOn Mo. 13. Dez. 2004, 20:19:40, schwern wrote:
Still an issue in Perl 5.10.0 rbaecker@www-devel-rbaecker ~/perl510/test/perl-5.10.0 $ perl -wle 'my |
From module@renee-baecker.deRelated Ticket: http://rt.perl.org/rt3/Public/Bug/Display.html?id=3105 |
From module@renee-baecker.deRelated Ticket: http://rt.perl.org/rt3/Public/Bug/Display.html?id=5564 |
From @xdgConfirmed still exists in 5.11.1 |
From @ikegamiThe severity of this bug can be demonstrated using $ perl -e'sub f { for (1..5,@x) { print ++$_ } print "\n"; } f;f;' In other words, accidentally changing the list can have repercussions |
From @obraOn Wed, Nov 25, 2009 at 05:29:01PM -0500, Eric Brine wrote:
I'm afraid you've missed the cutoff for deprecating things in 5.12. |
From @iabynEric notes that he pending work on this ticket |
From @jkeenanOn Fri Nov 20 10:36:05 2009, ikegami@adaelis.com wrote:
Confirmed same behavior found in 5.14.2. |
From @cpansproutOn Sun Nov 06 06:43:00 2011, jkeen@verizon.net wrote:
I proposed a solution to this involving the PADTMP flag: I don’t know how well it will work. -- Father Chrysostomos |
From @cpansproutFixed in 5608dcc. -- Father Chrysostomos |
From [Unknown Contact. See original ticket]Fixed in 5608dcc. -- Father Chrysostomos |
@cpansprout - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#3105 (status was 'resolved')
Searchable as RT3105$
The text was updated successfully, but these errors were encountered: