This is a live mirror of the Perl 5 development currently hosted at
12 years agolib/locale.t: big speedup
David Mitchell [Wed, 23 Feb 2011 23:12:04 +0000 (23:12 +0000)]
lib/locale.t: big speedup

This fix reduces the time for this test script on my debugging build
from 45 seconds to 6 seconds.

Basically, the structure of the main loop for test 117 now looks like:

    foreach my $x (keys %UPPER) {
        push @f, $x if (... something bad about $x...)
    foreach my $x (keys %lower) {
        push @f, $x if (... something bad about $x...)

Whereas before it looked like:

    foreach my $x (keys %UPPER) {
        push @f, $x if (... something bad about $x...)
        foreach my $x (keys %lower) {
            push @f, $x if (... something bad about $x...)

i.e. the %lower tests were inadvertently repeated many times

12 years agot/re/fold_grind.t: slight speed up
David Mitchell [Wed, 23 Feb 2011 22:01:04 +0000 (22:01 +0000)]
t/re/fold_grind.t: slight speed up

Hoist a 'next' up a few levels from the innnermost loop, where its
condition is invariant. This shaves a few seconds off the execution time.

12 years agot/re/fold_grind.t: tidy up a bit
David Mitchell [Wed, 23 Feb 2011 17:47:35 +0000 (17:47 +0000)]
t/re/fold_grind.t: tidy up a bit

The previous commit unwrapped an eval; now that the eval's removed,
the code can be tidied up a bit. No functional changes, but it strips
a further few seconds off the execution time.

12 years agomake t/re/fold_grind.t even faster
David Mitchell [Wed, 23 Feb 2011 16:51:40 +0000 (16:51 +0000)]
make  t/re/fold_grind.t even faster

This is currently the slowest test in the suite. On my debugging build,
it takes 3 minutes. This commit reduces it to 1.5 minutes.

This is done by removing the eval in the innermost loop and just
executing the bits it would do directly.

12 years agomake t/re/fold_grind.t faster
David Mitchell [Wed, 23 Feb 2011 12:46:05 +0000 (12:46 +0000)]
make  t/re/fold_grind.t faster

This is currently the slowest test in the suite. On my debugging build,
it takes 4 minutes. This commit reduces it to 3 minutes.

This is done by removing the second layer of eval: The tests are
constructed as strings to be evaled, but were then wrapped in a second
eval to handle TODO etc. This second eval turned out to be unnecessary.

12 years agoMove the tests that blow away %ENV to the end of t/op/magic.t
Nicholas Clark [Wed, 23 Feb 2011 15:56:35 +0000 (15:56 +0000)]
Move the tests that blow away %ENV to the end of t/op/magic.t

If %ENV is cleared, some platforms can't spawn new processes, which prevents
the use of fresh_perl_*().

12 years agoNo need to sort {non_,}bincompat_options in Config, as they are always sorted.
Nicholas Clark [Wed, 23 Feb 2011 11:37:03 +0000 (11:37 +0000)]
No need to sort {non_,}bincompat_options in Config, as they are always sorted.

t/porting/bincompat.t tests that they are in order, so no need to sort them.

12 years agoTest that perl.c reports {non_,}bincompat_options in sorted order.
Nicholas Clark [Wed, 23 Feb 2011 11:06:46 +0000 (11:06 +0000)]
Test that perl.c reports {non_,}bincompat_options in sorted order.

Whilst the actual order doesn't matter semantically, ensuring that they are
always in a sorted order means that string comparison can be used to validate
that two sets of options are identical. This will be useful in the near future
for improved load-time extension compatibility checking.

12 years agoUpdate Test-Simple to CPAN version 0.98
Chris 'BinGOs' Williams [Wed, 23 Feb 2011 10:20:34 +0000 (10:20 +0000)]
Update Test-Simple to CPAN version 0.98


  0.98  Wed, 23 Feb 2011 14:38:02 +1100
    Bug Fixes
    * subtest() should not fail if $? is non-zero. (Aaron Crane)

    * The behavior of is() and undef has been documented. (Pedro Melo)

12 years agoSkip t/re/pat_{advanced,rt_report}.t under minitest, as they use %- and %+
Nicholas Clark [Wed, 23 Feb 2011 09:35:04 +0000 (09:35 +0000)]
Skip t/re/pat_{advanced,rt_report}.t under minitest, as they use %- and %+

miniperl can't load Tie::Hash::NamedCapture, and as minitest is run if you
have build problems sufficiently severe that you can't bootstrap, it seems
unlikely that the advanced and obscure functionality of the regexp engine is
your most important concern. Hence better to skip it, than to try to bend it
to "portability".

12 years agoSkip the test for #77684 under minitest, as it requires PerlIO::scalar
Nicholas Clark [Tue, 22 Feb 2011 15:52:27 +0000 (15:52 +0000)]
Skip the test for #77684 under minitest, as it requires PerlIO::scalar

12 years agoperlfunc: typos, grammar, rewording
Father Chrysostomos [Wed, 23 Feb 2011 06:32:47 +0000 (22:32 -0800)]
perlfunc: typos, grammar, rewording

12 years agofoldEQ_utf8(): Move rare tests out of main stream
Karl Williamson [Wed, 23 Feb 2011 03:19:21 +0000 (20:19 -0700)]
foldEQ_utf8(): Move rare tests out of main stream

The code for handling locale can be moved entirely to the place where
locale handling is done for the second string, as by that time we have
processed the first string, and the second.  Since we only succeed
if both are atomic, single-bytes, we don't need to do the loop below.

12 years agoRemove unused static function popen_translate from vms.c.
Craig A. Berry [Wed, 23 Feb 2011 03:36:04 +0000 (21:36 -0600)]
Remove unused static function popen_translate from vms.c.

12 years agoperlfunc/goto: Note the llafr exemption
Father Chrysostomos [Wed, 23 Feb 2011 02:09:36 +0000 (18:09 -0800)]
perlfunc/goto: Note the llafr exemption

12 years agoYet more perlfunc tweaks
Father Chrysostomos [Wed, 23 Feb 2011 02:08:08 +0000 (18:08 -0800)]
Yet more perlfunc tweaks

12 years agoperlfunc/formline: Suggest an alternate capturing method
Father Chrysostomos [Tue, 22 Feb 2011 21:01:49 +0000 (13:01 -0800)]
perlfunc/formline: Suggest an alternate capturing method

(When I was starting to program in Perl, I wasted a lot of time trying
to use formline as an alternate version of write, in order to capture
the output. Eventually I created a pipe() and used that. But now we
have scalar ‘filehandles’, it’s much easier.)

12 years agoperlfunc/fileno: Document the -1 retval
Father Chrysostomos [Tue, 22 Feb 2011 20:57:00 +0000 (12:57 -0800)]
perlfunc/fileno: Document the -1 retval

12 years agoYet another set of perlfunc tweaks
Father Chrysostomos [Tue, 22 Feb 2011 20:53:05 +0000 (12:53 -0800)]
Yet another set of perlfunc tweaks

12 years agocharset.t: Skip locale tests if non locale
Karl Williamson [Tue, 22 Feb 2011 20:57:21 +0000 (13:57 -0700)]
charset.t: Skip locale tests if non locale

12 years agofold_grind.t: Skip locale tests if wrong locale
Karl Williamson [Tue, 22 Feb 2011 20:56:33 +0000 (13:56 -0700)]
fold_grind.t: Skip locale tests if wrong locale

12 years agofold_grind.t: Don't use test numbers for todos
Karl Williamson [Tue, 22 Feb 2011 20:54:31 +0000 (13:54 -0700)]
fold_grind.t: Don't use test numbers for todos

This converts the todos into ones derived by looking at what is failing.
It is so what is actually tested by the test suite can vary.

12 years agot/ Add is_miniperl()
Karl Williamson [Tue, 22 Feb 2011 18:18:58 +0000 (11:18 -0700)]
t/ Add is_miniperl()

So that .t's which can't easily know how many to skip can access
the functionality.

12 years agoAllow t/re/regexp.t to conditionally skip tests on miniperl
Nicholas Clark [Tue, 22 Feb 2011 21:06:17 +0000 (21:06 +0000)]
Allow t/re/regexp.t to conditionally skip tests on miniperl

Annotate that all tests for %+ and %- are to be skipped on miniperl.

12 years agoSkip a warnings test under miniperl that relies on the effects of -C
Nicholas Clark [Tue, 22 Feb 2011 20:04:17 +0000 (20:04 +0000)]
Skip a warnings test under miniperl that relies on the effects of -C

miniperl ignores -C and $ENV{PERL_UNICODE}, as of e27b5b51275a893e.

12 years agomake /\p{isUserDefined}/ die on taint
David Mitchell [Tue, 22 Feb 2011 16:28:20 +0000 (16:28 +0000)]
make /\p{isUserDefined}/ die on taint

If the string which contains the name of a user-defined character property
function is tainted, then die rather than calling that function.
See [perl #82616].

12 years agoAvoid loading modules for %! and %+ on meeting %{"foo::!"} and %{"foo::+"}
Nicholas Clark [Tue, 22 Feb 2011 15:19:34 +0000 (15:19 +0000)]
Avoid loading modules for %! and %+ on meeting  %{"foo::!"} and %{"foo::+"}

Previously, just %{"foo::!"} would not trigger a load of Errno, but
${"foo::!"}; %{"foo::!"}; would, due to the different code paths taken through
Perl_gv_fetchpvn_flags(). As the modules themselves are responsible for calling
tie on the relevant global variables, there never was a problem with the wrong
variables *getting* their behaviour. However, the attempted load of the XS
module Tie::Hash::NamedCapture for %{"foo::-} meant that t/op/leaky-magic.t
would not pass under minitest. This commit resolves that failure.

12 years agogenmake mention from perlembed.pod is bogus
Vadim Konovalov [Tue, 22 Feb 2011 06:01:26 +0000 (22:01 -0800)]
genmake mention from perlembed.pod is bogus

it appears that chunk of explanations in perlembed.pod is repeating
some facts that already present in README.win32, yet they are now
old and mostly questionable: no special care should be taken on Win32

12 years agoRevert "Revert "fold_grind.t: Test multi-char folds""
Karl Williamson [Tue, 22 Feb 2011 04:42:47 +0000 (21:42 -0700)]
Revert "Revert "fold_grind.t: Test multi-char folds""

This reverts commit 7d8bc0b3c2c9f56519ce821ceccee5113f7e4bb9
to reinstate multi-char fold tests.

12 years agointrpvar.h: Need to initialize PL_utf8_foldable
Karl Williamson [Tue, 22 Feb 2011 04:26:42 +0000 (21:26 -0700)]
intrpvar.h: Need to initialize PL_utf8_foldable

12 years agoRemove various indirect method calls in IO's docs
Boris Ratner [Mon, 21 Feb 2011 12:39:40 +0000 (14:39 +0200)]
Remove various indirect method calls in IO's docs

Also do the same in some of its error messages. This fixes CPAN RT#65836.

12 years agoUpdate Test-Harness to CPAN version 3.23
Chris 'BinGOs' Williams [Mon, 21 Feb 2011 23:20:14 +0000 (23:20 +0000)]
Update Test-Harness to CPAN version 3.23


  3.23    2011-02-20
        - Merge in changes from core. Thanks BinGOs.
        - Made SourceHandler understand that an executable binary file
          is probably an executable.
        - Added workaround for Getopt::Long 2.25 handling of
          multivalue options. Fixes test failure on stock perl 5.6.2.

12 years agoUpdate JSON-PP to CPAN version 2.27104
Chris 'BinGOs' Williams [Mon, 21 Feb 2011 22:48:18 +0000 (22:48 +0000)]
Update JSON-PP to CPAN version 2.27104


  2.27104  Thu Jan 20 19:06:25 2011
    - fixed a problem to convert overloaded objects (pointed by rt#64783)
    - changed decoding methods object() and array() to pass a object.

12 years agoTwo functions shouldnt be declared inline
Karl Williamson [Mon, 21 Feb 2011 17:17:17 +0000 (10:17 -0700)]
Two functions shouldnt be declared inline

12 years agotoke.c: 'Specialized /le message is only for substitutes
Karl Williamson [Mon, 21 Feb 2011 16:57:51 +0000 (09:57 -0700)]
toke.c: 'Specialized /le message is only for substitutes

m//le  has to be the lexical comparison, so use the generic deprecation
for that case

12 years agomove brace to same line as conditional
Karl Williamson [Mon, 21 Feb 2011 16:57:29 +0000 (09:57 -0700)]
move brace to same line as conditional

12 years agotoke.c: fix comment
Karl Williamson [Mon, 21 Feb 2011 16:56:25 +0000 (09:56 -0700)]
toke.c: fix comment

12 years agoBreak out the test for #27839 into a new test file.
Nicholas Clark [Mon, 21 Feb 2011 16:38:44 +0000 (16:38 +0000)]
Break out the test for #27839 into a new test file.

Skip the new t/op/magic-27839.t under minitest, as it mentions %+, which causes
the parser to attempt to load Tie::Hash::NamedCapture at *compile* time, which
causes miniperl to abort, as it doesn't support dynamic linking.

12 years agoUnder minitest, skip tests in op/g{oto,v}.t that need PerlIO::scalar.
Nicholas Clark [Mon, 21 Feb 2011 16:22:26 +0000 (16:22 +0000)]
Under minitest, skip tests in op/g{oto,v}.t that need PerlIO::scalar.

12 years agoIn t/io/open.t, skip the tests for loading IO::File when running under miniperl
Nicholas Clark [Mon, 21 Feb 2011 15:55:19 +0000 (15:55 +0000)]
In t/io/open.t, skip the tests for loading IO::File when running under miniperl

This is analogous to skipping all of t/op/iofile.t under miniperl.

12 years agoAdd skip_if_miniperl() to, and use it in op/hashassign.t and re/re.t
Nicholas Clark [Mon, 21 Feb 2011 15:06:10 +0000 (15:06 +0000)]
Add skip_if_miniperl() to, and use it in op/hashassign.t and re/re.t

In both, skip blocks which have tests which require a module which needs
dynamic loading, to make both pass again under minitest.

12 years agoBreak out the test for #72922 into a new test file.
Nicholas Clark [Mon, 21 Feb 2011 14:50:22 +0000 (14:50 +0000)]
Break out the test for #72922 into a new test file.

Skip the new t/re/qr-72922.t under minitest.

12 years agoConvert t/re/re.t to use done_testing(), instead of a trailing BEGIN block
Nicholas Clark [Mon, 21 Feb 2011 14:49:38 +0000 (14:49 +0000)]
Convert t/re/re.t to use done_testing(), instead of a trailing BEGIN block

Add comments to make it clearer where new tests should be added.

12 years agoAdd skip_all_if_miniperl() to, and use it in 6 test scripts
Nicholas Clark [Mon, 21 Feb 2011 14:14:30 +0000 (14:14 +0000)]
Add skip_all_if_miniperl() to, and use it in 6 test scripts

All require dynamic loading to work, so all should be skipped under minitest.

12 years agoSkip reg_namedcapture.t when run by miniperl
Nicholas Clark [Mon, 21 Feb 2011 14:00:30 +0000 (14:00 +0000)]
Skip reg_namedcapture.t when run by miniperl

miniperl has no dynamic loading, so cannot load Tie::Hash::NamedCapture.

12 years agoIn t/TEST, automatically detect if running under miniperl
Nicholas Clark [Mon, 21 Feb 2011 13:31:57 +0000 (13:31 +0000)]
In t/TEST, automatically detect if running under miniperl

Set $ENV{PERL_CORE_MINITEST} based on defined &DynaLoader::boot_DynaLoader,
instead of relying on a -minitest parameter. &DynaLoader::boot_DynaLoader is
undefined in miniperl, defined in perl, for both -Dusedl and -Uusedl

12 years agoIn switchI.t, use nolib => 1 to make the tests pass on miniperl once more.
Nicholas Clark [Mon, 21 Feb 2011 11:47:58 +0000 (11:47 +0000)]
In switchI.t, use nolib => 1 to make the tests pass on miniperl once more.

fresh_perl_is() defaults to automatically prefixing the test perl's arguments
with -I../lib, which (now) causes miniperl to find ../lib/,
which (when found and run) resets @INC, perturbing the tests. Suppressing the
automatic addition of -I../lib avoids these problems.

Also, fold together the two adjacent BEGIN blocks at the start of the script.

12 years agoIn runenv.t, don't automatically add -I../lib to the test program's arguments.
Nicholas Clark [Mon, 21 Feb 2011 11:29:27 +0000 (11:29 +0000)]
In runenv.t, don't automatically add -I../lib to the test program's arguments.

Instead, add -I../lib explicitly to the program's arguments when needed.
This makes the test pass with miniperl, and simplifies the later tests which
inspect the entirety of @INC.

miniperl will have been failing since 5e4c4c91bd52a48d, because it now loads
$INC[0]/ if present, resetting @INC, and always providing
-I../lib will cause it to find the script.

12 years agoRefactor t/run/runenv.t to use lexical file handles.
Nicholas Clark [Mon, 21 Feb 2011 11:09:11 +0000 (11:09 +0000)]
Refactor t/run/runenv.t to use lexical file handles.

Also print out $! in open failure diagnostics.

12 years agoIn runenv.t, inline runperl() into try(), its only caller.
Nicholas Clark [Mon, 21 Feb 2011 10:33:12 +0000 (10:33 +0000)]
In runenv.t, inline runperl() into try(), its only caller.

d5226c4c8f9a2932e broke runperl_and_capture() out from runperl(), but didn't
notice that there was only one caller for runperl(). Change try() to use
is() for testing each of STDOUT and STDERR, instead of an explicit test,
explicit diagnostics, and a summary to ok(). This increases the tests run,
hence the plan needs changing.

Also inline it_didnt_work() into runperl_and_capture(), and remove the END
block that deletes the temporary files, which has been vestigial since
2d90ac9586ffb5c7 converted runenv.t to use's tmpfile().

12 years agoperlfunc/eval: note the discrepancy in list context retvals
Father Chrysostomos [Mon, 21 Feb 2011 05:37:07 +0000 (21:37 -0800)]
perlfunc/eval: note the discrepancy in list context retvals

12 years agoIncrease CoreList’s version
Father Chrysostomos [Mon, 21 Feb 2011 05:33:51 +0000 (21:33 -0800)]
Increase CoreList’s version

to silence cmp_version.t

12 years agoperlfunc: do SUBROUTINE(LIST)
Father Chrysostomos [Mon, 21 Feb 2011 02:40:24 +0000 (18:40 -0800)]
perlfunc: do SUBROUTINE(LIST)

perlsub does not mention this anymore.

Even though it’s deprecated, it should still be documented properly

12 years agoEven more perlfunc tweaks
Father Chrysostomos [Mon, 21 Feb 2011 02:38:43 +0000 (18:38 -0800)]
Even more perlfunc tweaks

12 years agoUpdate docs for postfix /dual flags
Father Chrysostomos [Sun, 20 Feb 2011 22:17:19 +0000 (14:17 -0800)]
Update docs for postfix /dual flags

12 years agomore perlfunc tweaks
Father Chrysostomos [Sun, 20 Feb 2011 06:06:27 +0000 (22:06 -0800)]
more perlfunc tweaks

12 years agoUpdate TOC for perl51310delta
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 20:00:03 +0000 (20:00 +0000)]
Update TOC for perl51310delta

Quoth Porting/perldelta_template.pod:

    "Run C<perl pod/buildtoc --build-all> to update the F<perldelta>
    version in the following files:


12 years agopod.lst: bump perldelta from 5.13.10 to 5.13.11
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 19:52:44 +0000 (19:52 +0000)]
pod.lst: bump perldelta from 5.13.10 to 5.13.11

Quoth Porting/release_managers_guide.pod:

    "Edit F<pod.lst>: add the new entry, flagged as 'd', and unflag
    the previous entry from being 'd'; for example:

        -d perl5101delta                Perl changes in version 5.10.1
        +d perl5102delta                Perl changes in version 5.10.2
        +  perl5101delta                Perl changes in version 5.10.1"

12 years agoCorrect the version of Module::CoreList that was released with v5.12.3
Chris 'BinGOs' Williams [Sun, 20 Feb 2011 19:22:39 +0000 (19:22 +0000)]
Correct the version of Module::CoreList that was released with v5.12.3

12 years agoclean up epigraphs file
Zefram [Sun, 20 Feb 2011 19:49:19 +0000 (19:49 +0000)]
clean up epigraphs file

Sort the epigraphs consistently (by version number).  Remove duplicate
entries.  Consistent formatting of per-version headings.

12 years agopod/perldelta.pod: copied from Porting/perldelta_template.pod
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 19:46:47 +0000 (19:46 +0000)]
pod/perldelta.pod: copied from Porting/perldelta_template.pod

Moved from Porting/perldelta_template.pod pod/perldelta.pod and munged
the version numbers in the NAME and DESCRIPTION sections.

Quoth Porting/release_managers_guide.pod:

    "Then create a new empty perldelta.pod file for the new release;
    see F<Porting/how_to_write_a_perldelta.pod>.

    You should be able to do this by just copying in a skeleton
    template and then doing a quick fix up of the version numbers."

12 years agopod/perl51310delta.pod: moved from pod/perldelta.pod
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 19:39:40 +0000 (19:39 +0000)]
pod/perl51310delta.pod: moved from pod/perldelta.pod

Move the perldelta for 5.13.10 to pod/perl51310delta.pod in
preparation for adding one for 5.13.11 under pod/perldelta.pod.

Quoth Porting/release_managers_guide.pod:

    "Then, move the existing F<pod/perldelta.pod> to

    Now edit the moved delta file to change the C<NAME> from
    C<perldelta> to C<perlNNNdelta>."

12 years agopod/.gitignore: ignore the generated 5.13.11 delta
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 19:36:19 +0000 (19:36 +0000)]
pod/.gitignore: ignore the generated 5.13.11 delta

Quoth Porting/release_managers_guide.pod:

    "First, update the F<.gitignore> file in the F<pod/> folder to
    ignore the next release's generated F<pod/perlNNNdelta.pod> file
    rather than this releases's one which we are about to set in stone
    (where NNN is the perl version number without the dots. i.e. 5135
    for 5.13.5)."

12 years agoPorting/epigraphs.pod: add NNTP link to v5.13.10 epigraph
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 19:29:49 +0000 (19:29 +0000)]
Porting/epigraphs.pod: add NNTP link to v5.13.10 epigraph

I wouldn't have had to do this if I committed the epigraph after the
release, but having it in the release tag was my little rebellion.

12 years agoModule::CoreList: bump from 2.44_01 to 2.45 v5.13.10
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 19:02:01 +0000 (19:02 +0000)]
Module::CoreList: bump from 2.44_01 to 2.45

I bumped this from 2.44 to 2.44_01 for 5.13.10 because that's what
Jesse did for 5.13.9, but that was an exceptional case:

    <Bingos> it was a special case for v5.13.9 because of the v5.12.3
             release being in the same week.

12 years agoPorting/epigraphs.pod: add v5.13.10 epigraph
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 17:50:30 +0000 (17:50 +0000)]
Porting/epigraphs.pod: add v5.13.10 epigraph

Good luck feeding this to Google Translate.

12 years agoPorting/release_managers_guide.pod: about smokers and BLEAD
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 18:44:21 +0000 (18:44 +0000)]
Porting/release_managers_guide.pod: about smokers and BLEAD

Note that you don't have to wait for smokers for a BLEAD release,
because there simply isn't time.

12 years agoPorting/release_managers_guide.pod: note the NNTP url to smoke reports
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 18:39:08 +0000 (18:39 +0000)]
Porting/release_managers_guide.pod: note the NNTP url to smoke reports

Add a link to, which has
the reports aggregated on in
raw format.

12 years agopod/perlhist.pod: add myself to "THE KEEPERS OF THE PUMPKIN"
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 18:31:17 +0000 (18:31 +0000)]
pod/perlhist.pod: add myself to "THE KEEPERS OF THE PUMPKIN"

Quoth Porting/release_managers_guide.pod:

    "make sure that his or her name is listed in the section entitled

Reported-by: Florian Ragwitz <>
12 years agot/re/re.t: remove leftover diag() debugging in 94b03d7d
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 18:25:04 +0000 (18:25 +0000)]
t/re/re.t: remove leftover diag() debugging in 94b03d7d

Remove some leftover diag() calls added by Karl Williamson in

12 years agopod/perldelta.pod: add a space before the version number
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 18:15:49 +0000 (18:15 +0000)]
pod/perldelta.pod: add a space before the version number

12 years agopod/perldelta.pod: remove unused Security section
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 18:14:10 +0000 (18:14 +0000)]
pod/perldelta.pod: remove unused Security section

There was nothing in it, so there's no need for it to be there.

12 years agopod/perldelta.pod: close unbalanced parenthesis
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 18:13:16 +0000 (18:13 +0000)]
pod/perldelta.pod: close unbalanced parenthesis

See for why.

12 years agoPorting/release_managers_guide.pod: correct path to perlivp
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 17:49:46 +0000 (17:49 +0000)]
Porting/release_managers_guide.pod: correct path to perlivp

Change the path to perlivp from bin/perlivp to utils/perlivp. Also
instruct the release manager to run it with ./perl instead of perl
because we want to dogfood more things during the release.

12 years agoRevert "fold_grind.t: Test multi-char folds"
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 16:10:28 +0000 (16:10 +0000)]
Revert "fold_grind.t: Test multi-char folds"

This reverts commit 55efcec6eaba5f71068ad86a17184a439d10bad8.



55efcec6eaba5f71068ad86a17184a439d10bad8 added new tests for
multi-char folds. These fail on Solaris and some other systems. It's
probably turning up bugs we had all along, but since I'm about to
release 5.13.10 I'm going to revert this for now, we can debug Solaris
et al later and apply this thes.

Acked-by: Karl Williamson <>
12 years agopod/perlhist.pod: mention that 5.13.10 is released today
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 00:45:44 +0000 (00:45 +0000)]
pod/perlhist.pod: mention that 5.13.10 is released today

12 years agodist/Module-CoreList/Changes: bump to 2.44_01
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 15:45:50 +0000 (15:45 +0000)]
dist/Module-CoreList/Changes: bump to 2.44_01

Quoth Porting/release_managers_guide.pod:

    "Also edit Module::CoreList's new version number in its F<Changes>

12 years agoModule::CoreList: update CAVEATS section with 5.13.9 and 5.13.10
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 00:37:51 +0000 (00:37 +0000)]
Module::CoreList: update CAVEATS section with 5.13.9 and 5.13.10

Update the CAVEATS section to mention 5.13.9 and 5.13.10. This was
forgotten around 5.13.9.

12 years agoUpdate Module::CoreList for 5.13.10
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 00:35:46 +0000 (00:35 +0000)]
Update Module::CoreList for 5.13.10

I haven't updated the Changes and the META.yml file. This wasn't done
for 5.13.9, maybe it only needs to happen afterwards and
release_managers_guide.pod is wrong.

TODO: investigate that

Bumped to 2.44_01 (a dev release I don't expect to be CPANed on its
own). Doing it like Jesse Vincent in e0698539c3. Quoth

    "Edit the version number in the new C<< 'Module::CoreList' =>
    'X.YZ' >> entry, as that is likely to reflect the previous version

12 years agoPorting/release_managers_guide.pod: Module::CoreList has no META.yml file
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 15:41:15 +0000 (15:41 +0000)]
Porting/release_managers_guide.pod: Module::CoreList has no META.yml file

During my in-progress release:

    $ git --no-pager grep 2.44 -- ./dist/Module-CoreList/
    dist/Module-CoreList/Changes:2.44    Sat Jan 22 2011
    dist/Module-CoreList/lib/Module/$VERSION = '2.44_01';
    dist/Module-CoreList/lib/Module/    'Module::CoreList'      => '2.44_01',

It doesn't have a META.yml anymore, instead a MYMETA.yml is generated
for us. So the bit that told us to update it in
Porting/release_managers_guide.pod was out of date.

12 years agoFix timing issues with test in sigdispatch.t on certain BSDs
Leon Timmermans [Sun, 20 Feb 2011 15:30:59 +0000 (15:30 +0000)]
Fix timing issues with test in sigdispatch.t on certain BSDs

Signed-off-by: Chris 'BinGOs' Williams <>
12 years agoPorting/release_managers_guide.pod: update pod2html example path
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 15:26:15 +0000 (15:26 +0000)]
Porting/release_managers_guide.pod: update pod2html example path

pod2html is no longer in pod/pod2html, it's in
ext/Pod-Html/pod2html. Also change the example to use ./perl instead
of perl to make sure we dogfood as much as possible.

12 years agopod/perldelta.pod: fill in Acknowledgements for 5.13.10
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 00:18:37 +0000 (00:18 +0000)]
pod/perldelta.pod: fill in Acknowledgements for 5.13.10

Fill in the Acknowledgements in pod/perldelta.pod for 5.13.10, quoth

    "Finalize the perldelta. In particular, fill in the
    Acknowledgements section. You can generate a list of contributors

The 63000 lines of changes is the sum of added and deleted in:

    git diff --stat v5.13.9..blead

12 years agoPorting/release_managers_guide.pod: show how to get the numbers in the Acknowledgemen...
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 15:17:38 +0000 (15:17 +0000)]
Porting/release_managers_guide.pod: show how to get the numbers in the Acknowledgements section

Update the instructions for the Acknowledgements section to show how
you can get the number of changed files and lines.

12 years agoChanges: bump git log commands to 5.13.10
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 00:11:04 +0000 (00:11 +0000)]
Changes: bump git log commands to 5.13.10

Quoth Porting/release_managers_guide.pod:

    "Update the Changes file to contain the git log command which
    would show all the changes in this release. You will need assume
    the existence of a not-yet created tag for the forthcoming

12 years agoINSTALL: Bump for 5.13.10
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 15:03:50 +0000 (15:03 +0000)]
INSTALL: Bump for 5.13.10

Quoth Porting/release_managers_guide.pod:

    Review and update INSTALL to account for the change in version
    number; in particular, the "Coexistence with earlier versions of
    perl 5" section.

    Be particularly careful with the section "Upgrading from 5.X.Y or
    earlier". For stable releases, this needs to refer to the last
    release in the previous development cycle. For blead releases, it
    needs to refer to the previous blead release.

12 years agoBump the perl version in various places to 5.13.10
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 00:07:32 +0000 (00:07 +0000)]
Bump the perl version in various places to 5.13.10

Done with:

    ./perl -Ilib Porting/bump-perl-version -s 5.13.9 5.13.10 > /tmp/scan
    ./perl -Ilib Porting/bump-perl-version -u < /tmp/scan

And then manually editing the README.vms file to update the vmstar

12 years agopod/perldelta.pod: typo in 94b03d7d -> s/meaing/meaning/
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 14:58:10 +0000 (14:58 +0000)]
pod/perldelta.pod: typo in 94b03d7d -> s/meaing/meaning/

12 years agopod/perldelta.pod: remove XXX entries
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 14:49:28 +0000 (14:49 +0000)]
pod/perldelta.pod: remove XXX entries

Remove all the XXX entries in the template perldelta.pod. Also move
the note about the perlbug change to the "Utility Changes" section,
and uniformly turn "=item * $FOO" sections into "=item *\n\n$FOO"

12 years agoPorting/release_managers_guide.pod: don't disarm patchlevel for SNAPSHOT/BLEAD
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 02:03:17 +0000 (02:03 +0000)]
Porting/release_managers_guide.pod: don't disarm patchlevel for SNAPSHOT/BLEAD

The section for arming the patchlevel change says "You MUST SKIP this
step for SNAPSHOT or BLEAD release", but the corresponding section for
disarming it doesn't mention it. Fix that.

12 years agoPorting/release_managers_guide.pod: remove needless Win32 special case
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 02:00:29 +0000 (02:00 +0000)]
Porting/release_managers_guide.pod: remove needless Win32 special case

Instead of mentioning that the user can run a commant with '' on Unix
and "" on Windows just give everyone the example with "" quotes. It
works fine on Unix as well.

12 years agoPorting/release_managers_guide.pod: mention Module::CoreList's CAVEATS section
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 00:40:17 +0000 (00:40 +0000)]
Porting/release_managers_guide.pod: mention Module::CoreList's CAVEATS section

Change release_managers_guide.pod to mention that Module::CoreList
CAVEATS should be updated. This was forgotten when the 5.13.9 release
was made, let's not forget it again.

12 years agoPorting/epigraphs.pod: add v5.13.9 epigraph
Ævar Arnfjörð Bjarmason [Sun, 20 Feb 2011 02:09:04 +0000 (02:09 +0000)]
Porting/epigraphs.pod: add v5.13.9 epigraph

Add the v5.13.9 epigraph by Jesse Vincent and POD-ify it to link to
the raw speech on Wikisource. Taken from:

    Date: Thu, 20 Jan 2011 20:44:42 -0500
    From: Jesse Vincent <>
    Subject: Perl 5.13.9 is now available
    Message-ID: <20110121014442.GA27503@puppy>

12 years agoFix reference to the deprecations Task:: for 5.14
Florian Ragwitz [Sun, 20 Feb 2011 07:35:46 +0000 (08:35 +0100)]
Fix reference to the deprecations Task:: for 5.14

I'll be uploading that dist to CPAN shortly.

12 years agoAllow suffix form for /a /d /l /u
Karl Williamson [Sat, 19 Feb 2011 22:56:29 +0000 (15:56 -0700)]
Allow suffix form for /a /d /l /u

This patch contains the code changes for doing this, but not most of the
pod changes, nor the new .t tests required.  There were already tests in
place to make sure that this didn't break backcompat.

12 years agoregexp.h: The length of 'aa' is 2
Karl Williamson [Sun, 20 Feb 2011 03:52:48 +0000 (20:52 -0700)]
regexp.h: The length of 'aa' is 2

12 years agotoke.c: Don't take the address of a register
Karl Williamson [Sat, 19 Feb 2011 19:13:09 +0000 (12:13 -0700)]
toke.c: Don't take the address of a register

I discovered after I pushed 858a358bdd94da8251cdb2210d9bec7c1bbe7464
that I had forgotten to 'git add' changes before committing.

12 years agoperlfunc/-X: rearrange slightly and note llafr exemption
Father Chrysostomos [Sun, 20 Feb 2011 04:25:44 +0000 (20:25 -0800)]
perlfunc/-X: rearrange slightly and note llafr exemption

The paragraphs explaining -x -r -w and -T -B have grown over time,
obscuring the bit about the syntax, so I’ve moved it up.

I have also expanded it to note its exemption from the ‘looks like a
function’ rule (which is currently mentioned only in perlop, if I
remember correctly).

12 years agoperlfunc tweaks
Father Chrysostomos [Sun, 20 Feb 2011 03:19:18 +0000 (19:19 -0800)]
perlfunc tweaks

Notable changes, apart from grammar and punctuation:
• ‘In general’ in conjunction with ‘all’ is slightly contradictory
• wait, waitpid, and syscall are not the only functions that do not
  return undef on failure

12 years agotoke.c: Move suffix re mods message to one place
Karl Williamson [Sat, 19 Feb 2011 19:13:09 +0000 (12:13 -0700)]
toke.c: Move suffix re mods message to one place

This involves a slight refactoring of the routine that handles
parsing for the mods