This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agoSort the MANIFEST.
Nicholas Clark [Wed, 29 Jul 2009 18:00:26 +0000 (19:00 +0100)]
Sort the MANIFEST.

14 years agowarnings.pl and lib/warnings.pm have been changed since 5.10.0. Their versions needed...
Jesse Vincent [Wed, 29 Jul 2009 15:14:27 +0000 (11:14 -0400)]
warnings.pl and lib/warnings.pm have been changed since 5.10.0. Their versions needed to be bumped before 5.11.0

14 years agoAdd a test to verify that the MANIFEST file is well-formed.
Nicholas Clark [Wed, 29 Jul 2009 15:32:56 +0000 (16:32 +0100)]
Add a test to verify that the MANIFEST file is well-formed.

14 years agobump-perl-version false positives
Jesse Vincent [Wed, 29 Jul 2009 14:04:56 +0000 (10:04 -0400)]
bump-perl-version false positives

In the runup to 5.10.1, Dave created bump-perl-version to automate
the tedious process of incrementing the Perl version number.  Trying
it out on blead, I found that there are a few files it matches
which either mention a version of Perl and then say "replace 5.x.y with
your version of Perl" or which are describing changes in a particular
version of perl. The attached patch skips those files.

At this point, we're down to 18 files which need to be changed to bump
the version at release time.

-j

From 0c347ba41fea91bbe36b53841cc150002c8782d5 Mon Sep 17 00:00:00 2001
From: Jesse Vincent <jesse@bestpractical.com>
Date: Wed, 29 Jul 2009 10:00:09 -0400
Subject: [PATCH] Removed some false positives flagged for gratuitious changing by the bump-perl-version releng tool

14 years agopodtidy
Leon Brocard [Wed, 29 Jul 2009 13:34:23 +0000 (14:34 +0100)]
podtidy

14 years agoTabs, not spaces, in MANIFEST.
Nicholas Clark [Wed, 29 Jul 2009 11:50:51 +0000 (12:50 +0100)]
Tabs, not spaces, in MANIFEST.

14 years agoForbid labels with keyword names
Rafael Garcia-Suarez [Tue, 28 Jul 2009 07:47:24 +0000 (09:47 +0200)]
Forbid labels with keyword names

14 years agoMake test pass with -t
Rafael Garcia-Suarez [Tue, 28 Jul 2009 09:12:54 +0000 (11:12 +0200)]
Make test pass with -t

14 years agomakerel now tells you _which_ files differ from the MANIFEST and if possible gives...
Jesse Vincent [Tue, 28 Jul 2009 18:35:08 +0000 (14:35 -0400)]
makerel now tells you _which_ files differ from the MANIFEST and if possible gives you sha1 sums of the built distribution

14 years agoA first stab at walking through the release-manager guide Primarily fixing bugs and...
Jesse Vincent [Tue, 28 Jul 2009 18:43:46 +0000 (14:43 -0400)]
A first stab at walking through the release-manager guide Primarily fixing bugs and clarifying prose.

14 years agodont leave temporary files laying around
Yves Orton [Tue, 28 Jul 2009 11:04:22 +0000 (13:04 +0200)]
dont leave temporary files laying around

14 years agochanges required to Make It Work on the perl gitweb host
Yves Orton [Tue, 28 Jul 2009 11:02:00 +0000 (13:02 +0200)]
changes required to Make It Work on the perl gitweb host

14 years agoAdd Porting/make_snapshot.pl
Yves Orton [Tue, 28 Jul 2009 08:51:56 +0000 (10:51 +0200)]
Add Porting/make_snapshot.pl

Which should have been included with the corresponding MANIFEST change
in the previous commit.

14 years agoupdate manifest to reflect two new utilities
Yves Orton [Tue, 28 Jul 2009 08:40:08 +0000 (10:40 +0200)]
update manifest to reflect two new utilities

14 years agoadd tool to create .tgz snapshot files with .patch file included
Yves Orton [Tue, 28 Jul 2009 08:38:22 +0000 (10:38 +0200)]
add tool to create .tgz snapshot files with .patch file included

14 years agobump 'version' to 0.77 in Maintainers.pl
David Mitchell [Mon, 27 Jul 2009 22:44:12 +0000 (23:44 +0100)]
bump 'version' to 0.77 in Maintainers.pl

14 years agoFinal release of version-0.77 for inclusion in 5.10.1
John Peacock [Mon, 27 Jul 2009 22:21:12 +0000 (18:21 -0400)]
Final release of version-0.77 for inclusion in 5.10.1

14 years agoremove Devel-PPPort part change included in e9105d30ed
David Mitchell [Mon, 27 Jul 2009 20:49:20 +0000 (21:49 +0100)]
remove Devel-PPPort part change included in e9105d30ed
this is a dual-life module

14 years agocleanup the EUI/EUMM test mess, and bump Install.pm to 1.54
Yves Orton [Mon, 27 Jul 2009 21:51:07 +0000 (23:51 +0200)]
cleanup the EUI/EUMM test mess, and bump Install.pm to 1.54

This removes lib/ExtUtils/t/basic.pl and t/basic_finish.pl, and
replaces them with the EUI specific t/InstallWithMM.t. The
version bump is purely to allow the release the new version on
CPAN and to make it possible to include a non dev release in
Perl 5.10.1 if Dave wants to.

Note that while there are no real code changes in this commit I
did trim whitespace from Install.pm, so if you want to see the
real diff here please use diff -w.

14 years agoadd a simple utility to Porting/ which knows how to generate .patch files
Yves Orton [Mon, 27 Jul 2009 20:10:55 +0000 (22:10 +0200)]
add a simple utility to Porting/ which knows how to generate .patch files

14 years agoReally check that sysread(I, $x, 1, -4) dies with "Offset outside string"
Vincent Pit [Mon, 27 Jul 2009 16:21:14 +0000 (18:21 +0200)]
Really check that sysread(I, $x, 1, -4) dies with "Offset outside string"

14 years agoPort t/op/sysio.t to test.pl
Vincent Pit [Mon, 27 Jul 2009 16:07:50 +0000 (18:07 +0200)]
Port t/op/sysio.t to test.pl

This also fix the breakage I caused to the test in my previous commit

14 years agoAdd support for new flag D in embed.fnc (deprecated)
Rafael Garcia-Suarez [Mon, 27 Jul 2009 14:50:38 +0000 (16:50 +0200)]
Add support for new flag D in embed.fnc (deprecated)

14 years agoAdd core test boilerplates
Rafael Garcia-Suarez [Mon, 27 Jul 2009 14:03:21 +0000 (16:03 +0200)]
Add core test boilerplates

(this is not a dual-life module)

14 years agoAdd core test boilerplate to some base.pm tests
Rafael Garcia-Suarez [Mon, 27 Jul 2009 13:48:21 +0000 (15:48 +0200)]
Add core test boilerplate to some base.pm tests

14 years agoMake test pass with miniperl
Rafael Garcia-Suarez [Mon, 27 Jul 2009 13:31:54 +0000 (15:31 +0200)]
Make test pass with miniperl

miniperl can't load Tie::RefHash at the moment.

14 years agoMake test pass with miniperl
Rafael Garcia-Suarez [Mon, 27 Jul 2009 13:21:20 +0000 (15:21 +0200)]
Make test pass with miniperl

(no need to call overload::StrVal on objects that don't overload "")

14 years agoReplace Test::More by test.pl
Rafael Garcia-Suarez [Mon, 27 Jul 2009 12:55:38 +0000 (14:55 +0200)]
Replace Test::More by test.pl

14 years agoRegression test for [perl #67912]
Vincent Pit [Mon, 27 Jul 2009 12:47:26 +0000 (14:47 +0200)]
Regression test for [perl #67912]

14 years agosyswrite prints garbage if called with empty scalar and non-zero offset
chromatic [Mon, 27 Jul 2009 12:44:15 +0000 (14:44 +0200)]
syswrite prints garbage if called with empty scalar and non-zero offset

14 years agomissing "to" in perlxs
Offer Kaye [Mon, 27 Jul 2009 10:23:09 +0000 (13:23 +0300)]
missing "to" in perlxs

14 years agoMake cxinc member of the public API
Rafael Garcia-Suarez [Mon, 27 Jul 2009 07:43:16 +0000 (09:43 +0200)]
Make cxinc member of the public API

This way, MULTICALL_PUSH will be available to XS code without defining
PERL_CORE or PERL_EXT (bug #67894)

14 years agoAvoid using embedded newlines in the "one"liners passed to runperl().
Nicholas Clark [Mon, 27 Jul 2009 06:23:27 +0000 (07:23 +0100)]
Avoid using embedded newlines in the "one"liners passed to runperl().

14 years agoUpdate Module::Build to 0.34_02
David Golden [Mon, 27 Jul 2009 02:58:56 +0000 (22:58 -0400)]
Update Module::Build to 0.34_02

0.34_02 - Sun Jul 26 22:50:40 EDT 2009

 Bug-fixes:
 - Bundled Module::Build::Version updated to bring into sync with CPAN
   version.pm 0.77

0.34_01 - Sat Jul 18 16:32:09 EDT 2009

 Enhancements:
 - Added --debug flag to trace Build action execution (RT#47933)
   [David Golden]

 Bug-fixes:
 - Bundled Module::Build::Version version code updated to fix unsafe use
   of $@ (RT#47980) [John Peacock]

14 years agoAdd security contact information to perlsec
David Golden [Sat, 25 Jul 2009 22:56:58 +0000 (18:56 -0400)]
Add security contact information to perlsec

This patch inserts a short paragraph with security contact
information near the top of the "Perl Security" documentation
page.  This would seem a likely place someone would look for
such information (rather than INSTALL or perldelta where it
lives today).  I've put it at the top, not the bottom
to make it easier to find.

14 years agoneeded something to change to test patch mailing list
Yves Orton [Sun, 26 Jul 2009 22:44:23 +0000 (00:44 +0200)]
needed something to change to test patch mailing list

14 years agomuch better swap logic to support reentrancy and fix assert failure
George Greer [Sun, 12 Jul 2009 18:53:29 +0000 (14:53 -0400)]
much better swap logic to support reentrancy and fix assert failure

Commit c74340f9 added backreferences as well as the idea of a ->swap
regex pointer to keep track of the match offsets in case of backtracking.
The problem is that when Perl re-enters the regex engine to handle
utf8::SWASHNEW, the ->swap is not saved/restored/cleared so any capture
from the utf8 (Perl) code could inadvertently modify the regex match
data that caused the utf8 swash to get built.

This change should close out RT #60508

14 years agofix vim highlighting problem
Yves Orton [Wed, 22 Jul 2009 20:29:20 +0000 (22:29 +0200)]
fix vim highlighting problem

14 years agoSuggest using Inline as a pre-uploading test for a distribution.
Nicholas Clark [Sun, 26 Jul 2009 18:53:53 +0000 (19:53 +0100)]
Suggest using Inline as a pre-uploading test for a distribution.

14 years agoAdd tests for where -C differs between then #! and command lines.
Nicholas Clark [Sun, 26 Jul 2009 10:30:32 +0000 (11:30 +0100)]
Add tests for where -C differs between then #! and command lines.

14 years agoTidy code added in 4ba71d51f72efb2af8dc9748dd62219261f2e1fd.
Nicholas Clark [Sun, 26 Jul 2009 10:01:15 +0000 (11:01 +0100)]
Tidy code added in 4ba71d51f72efb2af8dc9748dd62219261f2e1fd.

14 years agoperldelta entry noting when -C is now allowed on the #! line.
Father Chrysostomos [Sun, 26 Jul 2009 09:30:00 +0000 (10:30 +0100)]
perldelta entry noting when -C is now allowed on the #! line.

14 years agoAllow -C on the #! line when it is identical to -C on the command line.
Father Chrysostomos [Sun, 26 Jul 2009 09:27:42 +0000 (10:27 +0100)]
Allow -C on the #! line when it is identical to -C on the command line.

Change from dieing whenever -C is seen on the #! line, to dieing only when it
differs from that on the command line, or was not specified on the command line.

14 years agodup saved_curcop in PL_parser
David Mitchell [Sun, 26 Jul 2009 01:19:20 +0000 (02:19 +0100)]
dup saved_curcop in PL_parser
Commit 7c4baf47da introduced the saved_curcop field of PL_parser,
but omitted to copy the entry during interpreter cloning.
This may fix bugs [RT #58468], [RT #59498]

14 years agoTests for commit 1375cf1cf2085f851bb176047d5e60248542f555
Bram [Sat, 25 Jul 2009 20:11:55 +0000 (22:11 +0200)]
Tests for commit 1375cf1cf2085f851bb176047d5e60248542f555

14 years agoSave and restore PL_regeol for op inside of regex (RT ##66110)
Craig A. Berry [Sat, 25 Jul 2009 19:06:34 +0000 (14:06 -0500)]
Save and restore PL_regeol for op inside of regex (RT ##66110)

If the op inside of a (?{ }) construct is another regex, the two
regexen end up corrupting each others' end-of-string markers,
resulting in various pathologies including access violations,
stack corruptions, and memory use growing without bound.

The change here is intended to be a relatively safe, cheap way to
prevent memory errors and makes no attempt to save and restore
other aspects of regex state; i.e., general purpose reentrancy
for the regex engine is still a TODO.

14 years agoDo not use a regex in DB::sub
Bram [Sat, 25 Jul 2009 14:26:45 +0000 (16:26 +0200)]
Do not use a regex in DB::sub

14 years agoWhen resetting our children, wipe out the isa cache too.
Nicholas Clark [Sat, 25 Jul 2009 16:04:29 +0000 (17:04 +0100)]
When resetting our children, wipe out the isa cache too.

(Fix to change 34354, which introduced a cached hash to make ->isa O(1))

14 years agoWhen dumping a hash, display the mro_meta structure if present.
Nicholas Clark [Sat, 25 Jul 2009 16:03:21 +0000 (17:03 +0100)]
When dumping a hash, display the mro_meta structure if present.

14 years agoAdd the new db tests to the MANIFEST
Vincent Pit [Sat, 25 Jul 2009 13:56:27 +0000 (15:56 +0200)]
Add the new db tests to the MANIFEST

14 years agoAdd test case for [perl #61222] + a test case for proxy constant subroutines
Bram [Fri, 24 Jul 2009 22:32:25 +0000 (00:32 +0200)]
Add test case for [perl #61222] + a test case for proxy constant subroutines

14 years agoadd -b option to makerel to make a .bz2 file
David Mitchell [Sat, 25 Jul 2009 10:54:16 +0000 (11:54 +0100)]
add -b option to makerel to make a .bz2 file

14 years agoautodie 2.06_01
David Mitchell [Sat, 25 Jul 2009 10:38:30 +0000 (11:38 +0100)]
autodie 2.06_01

14 years agotweaks to release_managers_guide.pod
David Mitchell [Fri, 24 Jul 2009 23:21:25 +0000 (00:21 +0100)]
tweaks to release_managers_guide.pod

14 years agomention Deprecations in how_to_write_a_perldelta.pod
David Mitchell [Fri, 24 Jul 2009 22:42:39 +0000 (23:42 +0100)]
mention Deprecations in how_to_write_a_perldelta.pod

14 years agobump-perl-version missed "perl5.10.0" style strings
David Mitchell [Fri, 24 Jul 2009 14:57:32 +0000 (15:57 +0100)]
bump-perl-version missed "perl5.10.0" style strings
("perl-5.10.0" was matched, but without the "-", it failed)

14 years agominor tweaks to release_managers_guide.pod
David Mitchell [Fri, 24 Jul 2009 14:55:27 +0000 (15:55 +0100)]
minor tweaks to release_managers_guide.pod

14 years agoAdd a test for mro::method_changed_in() and mro::invalidate_all_method_caches()
Bram [Fri, 24 Jul 2009 10:39:50 +0000 (12:39 +0200)]
Add a test for mro::method_changed_in() and mro::invalidate_all_method_caches()

14 years agoThis test is for [perl #60508] (it's in rt.perl.org; not in rt.cpan.org)
Bram [Fri, 24 Jul 2009 11:16:29 +0000 (13:16 +0200)]
This test is for [perl #60508] (it's in rt.perl.org; not in rt.cpan.org)

14 years agoRephrase note about CHECK and INIT in eval("") in perlmod
Rafael Garcia-Suarez [Fri, 24 Jul 2009 09:13:44 +0000 (11:13 +0200)]
Rephrase note about CHECK and INIT in eval("") in perlmod

(based on suggestions by David Nicol and chromatic)

14 years agoThinko in given() description, found by chromatic
Rafael Garcia-Suarez [Fri, 24 Jul 2009 07:26:52 +0000 (09:26 +0200)]
Thinko in given() description, found by chromatic

14 years agoTodo: decapsulation of smart match argument
Rafael Garcia-Suarez [Fri, 24 Jul 2009 06:15:45 +0000 (08:15 +0200)]
Todo: decapsulation of smart match argument

14 years agoAdd file to the MANIFEST and sort
Steve Peters [Thu, 23 Jul 2009 16:15:46 +0000 (11:15 -0500)]
Add file to the MANIFEST and sort

14 years agoRestore full name of mro::mro_invalidate_all_method_caches.
Craig A. Berry [Thu, 23 Jul 2009 13:08:29 +0000 (08:08 -0500)]
Restore full name of mro::mro_invalidate_all_method_caches.

It went missing in 1e9bd1186a044d6e3506ed14fbe055b8.  See
discussion at:

Message-ID: <20090722103454.GE60303@plum.flirble.org>

14 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/perl into blead
Chip Salzenberg [Thu, 23 Jul 2009 06:34:19 +0000 (23:34 -0700)]
Merge branch 'blead' of ssh://perl5.git.perl.org/perl into blead

14 years ago[rjbs] very minor tweaks to description of maint/blead
Ricardo SIGNES [Thu, 23 Jul 2009 05:29:10 +0000 (22:29 -0700)]
[rjbs] very minor tweaks to description of maint/blead
(cherry picked from commit 1b7ad6bc0c93abd2d9fad847e8449824e529ba24)

14 years agov-strings are not deprecated
David Golden [Wed, 22 Jul 2009 21:20:56 +0000 (17:20 -0400)]
v-strings are not deprecated

With version objects, we need them for use MODULE VERSION syntax.  This
patch removes the deprecation note.

14 years agoThis is a test for rt.cpan.org 60508 which I can't figure out where else to put it...
Michael G. Schwern [Sun, 12 Jul 2009 09:33:47 +0000 (02:33 -0700)]
This is a test for rt.cpan.org 60508 which I can't figure out where else to put it or what the underlying problem is, but it has to go somewhere.

14 years agoMake fresh_perl_is() strip newlines off the expected result just like it does the...
Michael G. Schwern [Sun, 12 Jul 2009 09:30:26 +0000 (02:30 -0700)]
Make fresh_perl_is() strip newlines off the expected result just like it does the result so tests don't weirdly fail just because the author didn't realize it was normalizing newlines.

14 years agoExtUtils::ParseXS 2.2002
David Mitchell [Wed, 22 Jul 2009 12:52:11 +0000 (13:52 +0100)]
ExtUtils::ParseXS 2.2002

14 years agoTeach goto how to cross given/when blocks
Vincent Pit [Wed, 22 Jul 2009 12:35:49 +0000 (14:35 +0200)]
Teach goto how to cross given/when blocks

14 years agoMerge branch 'nobangs' into blead
Rafael Garcia-Suarez [Wed, 22 Jul 2009 09:55:18 +0000 (11:55 +0200)]
Merge branch 'nobangs' into blead

14 years agoIgnore t/op/require.t byproducts
Vincent Pit [Wed, 22 Jul 2009 09:48:22 +0000 (11:48 +0200)]
Ignore t/op/require.t byproducts

14 years agoDocument the yada yada operator in perldelta
Rafael Garcia-Suarez [Wed, 22 Jul 2009 09:24:12 +0000 (11:24 +0200)]
Document the yada yada operator in perldelta

14 years agoRemove !!! and ??? operators
Rafael Garcia-Suarez [Wed, 22 Jul 2009 09:20:35 +0000 (11:20 +0200)]
Remove !!! and ??? operators

Those were adding non backwards compatible syntax, unlike "...",
as pointed out in bug #67646.

14 years agoFix File::Copy::copy with pipes on GNU/kFreeBSD
Niko Tyni [Wed, 22 Jul 2009 09:22:44 +0000 (11:22 +0200)]
Fix File::Copy::copy with pipes on GNU/kFreeBSD

Quoting Petr Salinger in http://bugs.debian.org/537555:
The Copy tries to detect whether source and dest are the same files.
Unfortunately, on the GNU/kFreeBSD the kernel returns for all pipes
as device and inode numbers just zero. See pipe_stat() in
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/sys_pipe.c

Patch by Petr Salinger, tests by Niko Tyni.

14 years agoSimplify the code that sets $_ in given()
Rafael Garcia-Suarez [Tue, 21 Jul 2009 12:02:25 +0000 (14:02 +0200)]
Simplify the code that sets $_ in given()

$_ is guaranteed to be lexical here, because the parser did an allocmy
when parsing the given() statement.

14 years agoperltodo: truncate() prototype
Rafael Garcia-Suarez [Tue, 21 Jul 2009 08:44:57 +0000 (10:44 +0200)]
perltodo: truncate() prototype

14 years agoperltodo: forbid labels with keyword names
Rafael Garcia-Suarez [Tue, 21 Jul 2009 08:38:55 +0000 (10:38 +0200)]
perltodo: forbid labels with keyword names

14 years agoAnother typo, as spotted by Offer Kaye <offer.kaye@gmail.com>.
Abigail [Mon, 20 Jul 2009 20:23:04 +0000 (22:23 +0200)]
Another typo, as spotted by Offer Kaye <offer.kaye@gmail.com>.

14 years agoTypo Fixes in Diagnostic
chromatic [Mon, 20 Jul 2009 20:14:29 +0000 (13:14 -0700)]
Typo Fixes in Diagnostic

Signed-off-by: Abigail <abigail@abigail.be>
14 years agoRevert "Test that `use feature' doesn't leak a scalar during s///ee"
Josh ben Jore [Mon, 20 Jul 2009 18:05:51 +0000 (11:05 -0700)]
Revert "Test that `use feature' doesn't leak a scalar during s///ee"

This reverts commit cda5e2ec34321ed347095f583f979be84943ec52 which
duplicated something already commited in
fa13de9435b2f7be1099b9202ae6e26021b00ba8.

14 years agoTest that `use feature' doesn't leak a scalar during s///ee
Josh ben Jore [Mon, 20 Jul 2009 14:39:25 +0000 (07:39 -0700)]
Test that `use feature' doesn't leak a scalar during s///ee

14 years agominor updates to release_managers_guide.pod
David Mitchell [Mon, 20 Jul 2009 12:59:35 +0000 (13:59 +0100)]
minor updates to release_managers_guide.pod

14 years agoMention DTrace in INSTALL.
David Mitchell [Mon, 20 Jul 2009 12:51:56 +0000 (13:51 +0100)]
Mention DTrace in INSTALL.
Also explain that a debugging build is slower

14 years agoforgot the version Bump - sigh
Yves Orton [Sun, 19 Jul 2009 23:21:15 +0000 (01:21 +0200)]
forgot the version Bump - sigh

14 years agosync to 1.52_03 (hopefully properly this time)
Yves Orton [Sun, 19 Jul 2009 23:18:06 +0000 (01:18 +0200)]
sync to 1.52_03 (hopefully properly this time)

14 years ago(mostly) sync blead with ExtUtils::Install 1.52_02
David Mitchell [Sun, 19 Jul 2009 21:56:20 +0000 (22:56 +0100)]
(mostly) sync blead with ExtUtils::Install 1.52_02
(Installed.t still divergent)

14 years agoBe sure to find the vmsish pragma for one-liners in exit.t.
Craig A. Berry [Sun, 19 Jul 2009 20:46:31 +0000 (15:46 -0500)]
Be sure to find the vmsish pragma for one-liners in exit.t.

Already in upstream at:

http://github.com/schwern/test-more/commit/c842e916e4aa2e34c36afb3a930979d363121236

14 years agobring up to date with ExtUtils-Install v1.52_02
Yves Orton [Sun, 19 Jul 2009 20:40:14 +0000 (22:40 +0200)]
bring up to date with ExtUtils-Install v1.52_02

14 years agomro::method_changed_in(..) ignores AUTOLOAD (RT #60220)
Tony Cook [Sat, 18 Jul 2009 19:49:04 +0000 (14:49 -0500)]
mro::method_changed_in(..) ignores AUTOLOAD (RT #60220)

Patch modified to use a boolean rather than an integer for tracking
mro changes in S_glob_assign_ref and test fixed not to warn.

URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60220

From the bug report:

-----------------------------------------------------------------
When creating a subclass dynamically, and when adding
AUTOLOAD dynamically into the parent class, then that
AUTOLOAD is not seen in the method cache, even after
a call to "mro::method_changed_in('Parent')".

It only appears in the method cache after a call
to mro::invalidate_all_method_caches().

The attached test file demonstrates the problem.

This was detected while trying to solve bug 40159 in DBIx::DataModel.
-----------------------------------------------------------------

Message-ID: <20081031132021.GA21341@mars.tony.develop-help.com>

14 years agoFix some nits in release_managers_guide.pod
Vincent Pit [Sat, 18 Jul 2009 21:31:25 +0000 (23:31 +0200)]
Fix some nits in release_managers_guide.pod

14 years agoadd extra note about CoreList to release_managers_guide.pod:
David Mitchell [Sat, 18 Jul 2009 21:06:38 +0000 (22:06 +0100)]
add extra note about CoreList to release_managers_guide.pod:

14 years agoadd info on updating CoreList and tags to release_managers_guide.pod
David Mitchell [Sat, 18 Jul 2009 20:58:43 +0000 (21:58 +0100)]
add info on updating CoreList and tags to release_managers_guide.pod

14 years agoProvisional update of CoreList for 5.10.1
David Mitchell [Sat, 18 Jul 2009 20:57:08 +0000 (21:57 +0100)]
Provisional update of CoreList for 5.10.1

(this will be done again just prior to RC1, but I wanted to try it out.
$VERSION has been bumped to what it will be for the final release.

14 years agoadd basic usage info to Porting/corelist.pl
David Mitchell [Sat, 18 Jul 2009 20:36:14 +0000 (21:36 +0100)]
add basic usage info to Porting/corelist.pl

14 years agoConfigure should sort inc_version_list
Andy Dougherty [Thu, 16 Jul 2009 20:52:39 +0000 (13:52 -0700)]
Configure should sort inc_version_list

In searching for previous versions of perl, Configure
forgets to sort the directories according to version number,
so 5.10 sorts later than 5.8.

Specifically, without this patch, you'd get something like:

    inc_version_list='5.8.9 5.8.8 5.10.0/i686-linux 5.10.0'

i.e. 5.10.0 would be searched *after* 5.8.8.

With this patch, you get something like:

    inc_version_list='5.10.0/i686-linux 5.10.0 5.8.9 5.8.8'

14 years agoSome of the TODOs in switches.t actually work on VMS.
Craig A. Berry [Sat, 18 Jul 2009 15:38:02 +0000 (10:38 -0500)]
Some of the TODOs in switches.t actually work on VMS.

14 years agofix pod2usage2 test for all case-insensitive systems
David Mitchell [Sat, 18 Jul 2009 00:10:20 +0000 (01:10 +0100)]
fix pod2usage2 test for all case-insensitive systems

This test, when run from core in t/, finds pod/usage.pod before
../lib/Pod/Usage.pm. Remove '.' from the search path for all core
platforms, not just cygwin.

14 years agoFix ExtUtils::Installed failure with -Duserelocatableinc
David E. Wheeler [Fri, 10 Jul 2009 17:14:39 +0000 (10:14 -0700)]
Fix ExtUtils::Installed failure with -Duserelocatableinc

This patch fixes an issue with ExtUtils::Installed when Perl is compiled with
userelocatableinc. It looks a though the issue is that `%Config` contains
local paths when built with -Duserelocatableinc, some, at least, with a
leading "./". The solution is to use `File::Spec->canonpath()` to clean up the
path before comparing two paths that are otherwise the same. A better solution
might be to use some sort of other utility function that checks that paths are
the same even if they're not spelled the same. I didn't notice such a function
in File::Spec, alas.

Also, I'm not sure what effects this change might have on VMS; it deserves
further testing there.