summaryrefslogtreecommitdiff
path: root/t/op/local.t
Commit message (Collapse)AuthorAgeFilesLines
* When localising a magic value, propagate the readonly flagRafael Garcia-Suarez2003-09-221-1/+6
| | | | | | | only if this scalar has \0 magic or has magic without a 'set' method. (follows change #20479 for bug #23141.) p4raw-link: @20479 on //depot/perl: 33f3c7b8444b48791ad016570a41a23483d750d2 p4raw-id: //depot/perl@21323
* Fix bug #23141 : localization of readonly magic scalarsRafael Garcia-Suarez2003-08-041-1/+15
| | | | | | now produces an error "Modification of a read-only value attempted", instead of silently failing. p4raw-id: //depot/perl@20479
* Re: [perl #21321] local ${"FOO"} does not workRafael Garcia-Suarez2003-02-251-2/+2
| | | | | Message-Id: <20030223000327.6f0c11fa.rgarciasuarez@free.fr> p4raw-id: //depot/perl@18774
* Re: [proposed PATCH] correctly unlocalise exists on tied/%ENVDave Mitchell2002-05-061-1/+14
| | | | | Message-ID: <20020506171700.A256@fdgroup.com> p4raw-id: //depot/perl@16434
* [proposed PATCH] correctly unlocalise exists on tied/%ENVDave Mitchell2002-05-061-0/+1
| | | | | Message-ID: <20020504003418.F22026@fdgroup.com> p4raw-id: //depot/perl@16431
* Re-integrate #9138 from maintperl to mainline,Jarkko Hietaniemi2001-03-181-3/+0
| | | | | | | | | | | the squelching of the unneeded "Scalars leaked" messages. p4raw-id: //depot/perl@9203 p4raw-integrated: from //depot/maint-5.6/perl@9202 'copy in' t/pragma/strict-vars (@7318..) t/pragma/warn/regcomp (@7887..) t/op/regexp.t (@8551..) t/op/lex_assign.t (@8987..) 'merge in' t/op/local.t (@5902..) t/pragma/warn/op (@7846..) t/pragma/warnings.t (@7895..) t/comp/proto.t (@8173..) t/pragma/warn/toke (@8570..) t/op/pat.t (@9076..)
* The Day of the Retractions continues: the #9138Jarkko Hietaniemi2001-03-141-0/+3
| | | | | (integrated in #9144) doesn't work well in mainline. p4raw-id: //depot/perl@9158
* Integrate changes #9137,9138,9142 from maintperl into mainline.Jarkko Hietaniemi2001-03-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | fix leak in pregcomp() when RE fails to compile (e.g. m/\\/) remove squelch controls for "Scalars leaked" messages in most places (these are now cured) fix another memory leak reported by purify (tie callbacks that croak can leak when wiping out magic) p4raw-link: @9142 on //depot/maint-5.6/perl: 26972843796e21c404c9d13ec5ee86e7b952a2bd p4raw-link: @9138 on //depot/maint-5.6/perl: ad7f1144250940f9ca43bac32708ec5e718b30ff p4raw-link: @9137 on //depot/maint-5.6/perl: 1f35595ecca168b4f66e3399344799fdbd496d17 p4raw-id: //depot/perl@9144 p4raw-integrated: from //depot/maint-5.6/perl@9143 'copy in' t/pragma/strict-vars (@7318..) t/pragma/warn/regcomp (@7887..) t/op/regexp.t (@8551..) t/op/lex_assign.t (@8987..) 'merge in' t/op/local.t (@5902..) t/pragma/warn/op (@7846..) t/pragma/warnings.t (@7895..) t/comp/proto.t (@8173..) t/pragma/warn/toke (@8570..) regcomp.c (@8777..) scope.c (@8855..) t/op/pat.t (@9076..)
* Re: [Fwd: BUG 20001205.022] Local on Hash elementsSimon Cozens2000-12-111-1/+12
| | | | | Message-ID: <20001211012144.A23467@deep-dark-truthful-mirror.perlhacker.org> p4raw-id: //depot/perl@8077
* compatibility fix: magic non-propagation in foreach implicit localizationGurusamy Sarathy1999-02-111-3/+40
| | | p4raw-id: //depot/perl@2854
* fix small memory leak when mess_sv happens to be touched by magicGurusamy Sarathy1998-07-211-1/+2
| | | p4raw-id: //depot/perl@1585
* merge changes#1423,1465 from maintbranch; checkin two missed filesGurusamy Sarathy1998-07-141-0/+2
| | | | | | | | | | from earlier changes#1461,1478 p4raw-link: @1478 on //depot/perl: 1d84e8dfc14d5303f4e9e567bd263f6b4d88e584 p4raw-link: @1465 on //depot/maint-5.004/perl: 5c79ff06c1b2e0ce9610857baca341a322e96624 p4raw-link: @1461 on //depot/perl: 8782bef2aa2ca158fdd0d7436e68ae3ac2b01ff7 p4raw-link: @1423 on //depot/maint-5.004/perl: 9b114077a050865568261ebf91069aa7983019c3 p4raw-id: //depot/perl@1488
* fix C<local $tied{foo} = $tied{foo}>, add testsGurusamy Sarathy1998-07-041-5/+41
| | | p4raw-id: //depot/perl@1307
* [win32] merge C<local $tied{foo}> patch, also moved statics inGurusamy Sarathy1998-03-091-1/+59
| | | | | [ah]v.c to thrdvar.h p4raw-id: //depot/win32/perl@802
* [win32] renumber some tests to match maint branchGurusamy Sarathy1998-03-041-28/+26
| | | p4raw-id: //depot/win32/perl@725
* [win32] this one with adjusted test numbersStephen McCamant1998-03-021-1/+36
| | | | | | Message-Id: <m0xjWFq-000EZeC@alias-2.pr.mcs.net> Subject: [PERL] [PATCH] Fix local $a[0] and local $h{a} p4raw-id: //depot/win32/perl@614
* [win32] merge a maint patchGurusamy Sarathy1998-02-121-1/+11
| | | | | | Message-Id: <199802110515.AAA23700@aatma.engin.umich.edu> Subject: Re: "local" can crash perl-4.00[34] on Solaris-x86 & FreeBSD p4raw-id: //depot/win32/perl@497
* Some Chip patches (some tweaked to match _5x source):Chip Salzenberg1998-02-061-1/+7
| | | | | | | | | | | | | | Subject: [PATCH] local leakage Date: Tue, 3 Feb 1998 09:16:50 -0500 (EST) Subject: [PATCH] NULs in patterns Date: Wed, 4 Feb 1998 01:33:51 -0500 (EST) Subject: [PATCH] Configure on PerlIO Date: Wed, 4 Feb 1998 01:38:43 -0500 (EST) Subject: [PATCH] Avoid core dump on package alias Date: Wed, 4 Feb 1998 15:38:42 -0500 (EST) Subject: [PATCH] Fix name of $Foo::{'Bar::'} Date: Wed, 4 Feb 1998 16:37:51 -0500 (EST) p4raw-id: //depot/perl@462
* Band-aid fix for local([@%]$x)Stephen McCamant1997-08-071-1/+10
| | | | | | | | | | | | | | | | This fixes the segfaults by extending the prohibition on `local($$x)' to array and hash dereferences and removing the code that never worked. It also adds simple test cases and a `through' to the error message. The new explanation in perldiag isn't terribly clear, but the old one told an untruth. It should be possible to make local([$@%]$x) work by adding a new SAVEt type, and I'd like to do so in the future, but that certainly wouldn't be maintenance patch material. p5p-msgid: m0wsb7J-000EYPC@alias-2.pr.mcs.net
* perl 5.0 alpha 3Larry Wall1993-10-101-2/+2
| | | | | [editor's note: the sparc executables have not been included, and emacs backup files have been removed]
* perl 5.0 alpha 2perl-5a2Larry Wall1993-10-071-1/+1
| | | | [editor's note: from history.perl.org. The sparc executables originally included in the distribution are not in this commit.]
* perl 4.0.00: (no release announcement available)perl-4.0.00Larry Wall1991-03-211-0/+45
So far, 4.0 is still a beta test version. For the last production version, look in pub/perl.3.0/kits@44.