summaryrefslogtreecommitdiff
path: root/lib/dumpvar.t
Commit message (Collapse)AuthorAgeFilesLines
* prevent failures deep in value dumping from abortingRicardo Signes2013-01-251-0/+9
| | | | | | | | | | | | | | | | Sometimes, dumpvar's dumpvalue routine gets a value it can't dump. The simplest example to contrive is the one in this test: a tied hash that can't tell you its keys. Until now, this would cause the whole dump to abort as soon as it failed to dump one part. With this commit, each stringify or unwind is inside an eval. Failed stringifications or unwindings are replaced with a placeholder showing the error. unwind uses return to stop early, and rather than go through contortions to wrap the eval in something that can then return 1 to test that eval worked, I've just asserted that this code requires 5.14.0, which made $@ a much more reliable indicator of failure after eval.
* Remove use of local($_) from dumpvar.plFather Chrysostomos2011-12-161-0/+13
| | | | | | I know we should really be fixing local($_), but that code in scope.c is rather twisted, and I want to see this fix in 5.16.
* Test dumpvar.pl with objects whose classes contain ‘=’Father Chrysostomos2011-10-231-0/+4
|
* Correct detection of absent modules. Based onAndy Dougherty2004-06-251-1/+1
| | | | | | | | Subject: [PATCH] Config{extensions} uses filesystem names as extensions Message-ID: <Pine.SOL.4.58.0406241505530.14039@maxwell.phys.lafayette.edu> with improvements from Marcus Holland-Moritz p4raw-id: //depot/perl@22998
* Skip tests if List::Util not builtNicholas Clark2004-06-221-0/+5
| | | p4raw-id: //depot/perl@22967
* Tests for change #21284.Jarkko Hietaniemi2003-09-191-1/+29
| | | | | p4raw-link: @21284 on //depot/perl: f338af47923def4d535e1fd32a0aeee66b1f733b p4raw-id: //depot/perl@21285
* [TESTS] dumpvar.plJoe McMahon2003-09-111-0/+94
| | | | | Message-ID: <Pine.LNX.4.44.0309102337150.2043-300000@tribal.metalab.unc.edu> p4raw-id: //depot/perl@21173
* Ooops, perlio into scalars was already history for this test...Jarkko Hietaniemi2003-09-091-4/+0
| | | p4raw-id: //depot/perl@21128
* Cannot do perlio into scalars without perlio.Jarkko Hietaniemi2003-09-091-0/+4
| | | p4raw-id: //depot/perl@21127
* There's no particular reason to have the dumpvar.tJarkko Hietaniemi2003-09-091-0/+189
in lib/perl5db/. p4raw-id: //depot/perl@21121