summaryrefslogtreecommitdiff
path: root/t/cmd
Commit message (Collapse)AuthorAgeFilesLines
* Add a TODO test for RT #1085: "what should be output of perl -weSteve Peters2006-04-191-1/+10
| | | | | 'print do { foreach (1, 2) { 1; } }'" p4raw-id: //depot/perl@27904
* Add test for RT #2166: foreach spuriously autovivifiesSteve Peters2006-02-231-1/+13
| | | p4raw-id: //depot/perl@27287
* Pulling ancient RCS commentsAndy Lester2005-11-204-8/+0
| | | | | Message-ID: <20051119061639.GA25086@petdance.com> p4raw-id: //depot/perl@26178
* Re: do { EXPR for EXPR }Robin Houston2005-10-241-1/+4
| | | | | Message-ID: <20051022155627.GA22420@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@25829
* The optrees for C<for $_ (...)> and C<for (...)> differ, so even moreNicholas Clark2004-07-151-1/+110
| | | | | tests. p4raw-id: //depot/perl@23112
* Lots of tests for for reverse ...Nicholas Clark2004-07-141-1/+254
| | | p4raw-id: //depot/perl@23105
* [perl #30061] double DESTROY in for loopDave Mitchell2004-06-081-1/+20
| | | | | | | | | pp_iter decremented the ref count of the previous iterant before unaliasing it. This could lead to DESTROY being called with the loop variable still aliased to the freed value. If the DESTROY also contained a for loop with the same iterator variable, the freed value would get resurrected then freed for a second time. p4raw-id: //depot/perl@22913
* A new fatal error :Dave Mitchell2003-04-231-1/+6
| | | | | | | Subject: [PATCH] Perl_croak("Use of freed value in iteration") Message-ID: <20030421121950.GB18189@fdgroup.com> Message-ID: <20030421125433.GC18189@fdgroup.com> p4raw-id: //depot/perl@19316
* Re: [perl #18165] "0" fails as right-hand argument to ..Slaven Rezic2002-12-081-1/+6
| | | | | Message-ID: <8765ugnffq.fsf@vran.herceg.de> p4raw-id: //depot/perl@18264
* cleaner close on tests, take 2 Andreas König2001-12-291-1/+1
| | | | | | | Message-ID: <m33d1tvjuq.fsf@anima.de> (except for the three DB_File patch fragments) p4raw-id: //depot/perl@13940
* [PATCH] check return of closeAndreas König2001-12-271-8/+8
| | | | | | | | | | | | | | | | | | | | | Date: 27 Dec 2001 09:47:30 +0100 Message-ID: <m3ellhgicd.fsf@anima.de> Subject: [PATCH] improve error reporting From: andreas.koenig@anima.de (Andreas J. Koenig) Date: 27 Dec 2001 09:54:55 +0100 Message-ID: <m3adw5gi00.fsf@anima.de> Subject: [PATCH] check return value of close From: andreas.koenig@anima.de (Andreas J. Koenig) Date: 27 Dec 2001 10:03:55 +0100 Message-ID: <m3666tghl0.fsf@anima.de> Subject: [PATCH] return of close From: andreas.koenig@anima.de (Andreas J. Koenig) Date: 27 Dec 2001 10:22:15 +0100 Message-ID: <m31yhhggqg.fsf@anima.de> p4raw-id: //depot/perl@13904
* Add a for(func()) test.Jarkko Hietaniemi2001-05-101-1/+12
| | | p4raw-id: //depot/perl@10069
* change#4849 wasn't restoring savestack correctly; make loops that haveGurusamy Sarathy2000-02-251-1/+18
| | | | | | | continue blocks recognizable at run time p4raw-link: @4849 on //depot/perl: 872465582bf743a066e1240f2c3e941735674827 p4raw-id: //depot/perl@5255
* fix localization in while BLOCK when there is a continue BLOCKGurusamy Sarathy2000-01-231-3/+22
| | | | | | | by introducing an explicit scope (c.f. change#4848) p4raw-link: @4848 on //depot/perl: 1ee987245c095afd177d3e2ca6255cec8dbb53ca p4raw-id: //depot/perl@4849
* fix scope cleanup when next jumps to a continue block; this is ratherGurusamy Sarathy2000-01-231-1/+14
| | | | | | | in the nature of a kludge; it doesn't fix the longstanding bug that makes C<while (!$x++) { local $x = 7 } continue { print $x }> print "7" instead of "1") p4raw-id: //depot/perl@4848
* integrate change#2053 from maint-5.005Gurusamy Sarathy1998-10-251-1/+20
| | | | | | | p4raw-link: @2053 on //depot/maint-5.005/perl: 2c3f7d309175811e431d5baa7695e7610e2fa584 p4raw-id: //depot/perl@2057 p4raw-integrated: from //depot/maint-5.005/perl@2056 'copy in' t/cmd/while.t (@1649..) 'merge in' cop.h (@1649..)
* delay freeing itervar so C<for $i (@a) { return($i) }> worksGurusamy Sarathy1998-09-181-3/+11
| | | p4raw-id: //depot/perl@1789
* add test for magic autovivificationM. J. T. Guy1998-08-021-1/+8
| | | | | | Message-Id: <E0z1qit-0003O5-00@taurus.cus.cam.ac.uk> Subject: Re: Perl5.005_01 failing to autovivify subroutine args p4raw-id: //depot/maint-5.005/perl@1704
* [win32] yet another patchChip Salzenberg1998-03-021-8/+15
| | | | | | Message-Id: <199709161748.NAA08418@nielsenmedia.com> Subject: Tiny but massively cool: C<statement foreach @list> p4raw-id: //depot/win32/perl@612
* Test patches for OS/2Ilya Zakharevich1997-01-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a) Teaches tests in os2/OS2/*/* new format of $Config{extensions}; os2/OS2/ExtAttr/t/os2_ea.t os2/OS2/PrfDB/t/os2_prfdb.t os2/OS2/REXX/t/rx_cmprt.t os2/OS2/REXX/t/rx_dllld.t os2/OS2/REXX/t/rx_objcall.t os2/OS2/REXX/t/rx_sql.test os2/OS2/REXX/t/rx_tiesql.test os2/OS2/REXX/t/rx_tievar.t os2/OS2/REXX/t/rx_tieydb.t os2/OS2/REXX/t/rx_varset.t os2/OS2/REXX/t/rx_vrexx.t b) Closes all the files before unlinking - for DOSISH systems; t/cmd/while.t t/comp/multiline.t t/io/argv.t t/lib/anydbm.t t/lib/gdbm.t t/lib/ndbm.t t/lib/odbm.t t/lib/sdbm.t c) t/README mentions running `harness' to get better granularity; t/README d) New test op/lex_assign.t added - will check optimization of lexicals when applied - 153 cases (some just ignored since hard to implement). MANIFEST t/op/lex_assign.t e) When a script is started via shell, $Config{exe_ext} may be appended. t/op/magic.t f) path/echo may print a warning if run without args t/comp/colon.t g) Error explanations more verbose t/op/cmp.t t/op/magic.t p5p-msgid: <199701170448.XAA28948@monk.mps.ohio-state.edu>
* Add tests to check treatment of numbers between 0 and -1Perl 5 Porters1996-05-011-1/+15
|
* perl 5.002_01: t/cmd/mod.tPerl 5 Porters1996-03-011-1/+1
| | | | | Try to open TEST with explicit directory first, so test doesn't fail if logical name TEST points to another file.
* perl 5.000perl-5.000Larry Wall1994-10-172-12/+12
| | | | | | | | | | | [editor's note: this commit combines approximate 4 months of furious releases of Andy Dougherty and Larry Wall - see pod/perlhist.pod for details. Andy notes that; Alas neither my "Irwin AccuTrack" nor my DC 600A quarter-inch cartridge backup tapes from that era seem to be readable anymore. I guess 13 years exceeds the shelf life for that backup technology :-(. ]
* perl 5.0 alpha 3Larry Wall1993-10-101-16/+16
| | | | | [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-076-8/+8
| | | | [editor's note: from history.perl.org. The sparc executables originally included in the distribution are not in this commit.]
* perl 4.0 patch 17: patch #11, continuedLarry Wall1991-11-051-2/+2
| | | | See patch #11.
* perl 4.0.00: (no release announcement available)perl-4.0.00Larry Wall1991-03-216-0/+471
So far, 4.0 is still a beta test version. For the last production version, look in pub/perl.3.0/kits@44.