This is a live mirror of the Perl 5 development currently hosted at
13 years agoMake distclean work again
Rafael Garcia-Suarez [Mon, 30 Nov 2009 09:30:41 +0000 (10:30 +0100)]
Make distclean work again

13 years agoFix -DPERL_NO_UTF16_FILTER
Eric Brine [Fri, 27 Nov 2009 00:16:16 +0000 (19:16 -0500)]

13 years agoMake split warn in void context
Rafael Garcia-Suarez [Sun, 29 Nov 2009 22:30:45 +0000 (23:30 +0100)]
Make split warn in void context

13 years agoHandle $@ being assigned a read-only value (without error or busting the stack).
Nicholas Clark [Sun, 29 Nov 2009 19:02:05 +0000 (19:02 +0000)]
Handle $@ being assigned a read-only value (without error or busting the stack).

Discovered whilst investigating RT #70862.

13 years agoFix RT #70862 by converting ERRSV to GvSVn() to ensure a non-NULL GvSV().
Nicholas Clark [Sun, 29 Nov 2009 16:42:42 +0000 (16:42 +0000)]
Fix RT #70862 by converting ERRSV to GvSVn() to ensure a non-NULL GvSV().

13 years agoMerge branch 'blead' of ssh:// into blead
Steve Peters [Sun, 29 Nov 2009 05:45:10 +0000 (23:45 -0600)]
Merge branch 'blead' of ssh:// into blead

13 years agoAdd error codes for getaddrinfo() and getnameinfo()
Steve Peters [Sun, 29 Nov 2009 05:43:11 +0000 (23:43 -0600)]
Add error codes for getaddrinfo() and getnameinfo()

13 years agomktables performance improvement
Karl Williamson [Sat, 28 Nov 2009 19:04:34 +0000 (12:04 -0700)]
mktables performance improvement

The attached patch got the easiest performance improvements to mktables.
Hopefully this is good enough for now.

This involved:

1) Nicholas' patch
2) I stored complete_name instead of recomputing it each time.
3) Used $_[xxx] instead of shift in very heavily used subroutines
4) removed trace accidentally left in.

I also changed the misspelled subroutine name discovered by Craig Berry.
I searched for any other misspellings and didn't find any.

Also removed trailing white space that keeps creeping back in, and now
this doesn't generate pod entries if not outputting a pod file, and
clarified warning message if no mktables.lst is present.

I couldn't figure out a way to conditionally use 'no overloading', as
it is called at compile time. ┬áSo I just commented out the old stuff
that will work for 5.8, with a note about using that if you want to
use 5.8

13 years agoDocument backreferences to groups that did not match
Moritz Lenz [Thu, 26 Nov 2009 23:33:09 +0000 (00:33 +0100)]
Document backreferences to groups that did not match

Also add a test for that, fill in test description, and sneak in a vim
modeline for re_tests

13 years agoAllow a closing brace after an "use VERSION"
Vincent Pit [Sat, 28 Nov 2009 12:27:02 +0000 (13:27 +0100)]
Allow a closing brace after an "use VERSION"

This fixes [perl #70884] : use VERSION in BLOCK without semicolon -> syntax error

13 years ago-Dmad minitest failure bisect
Zefram [Thu, 26 Nov 2009 16:41:22 +0000 (16:41 +0000)]
-Dmad minitest failure bisect

I wrote:
>In my tests with -Dmad, I'm still getting a test failure ("panic: input
>overflow") from t/op/incfilter.t.  The underlying problem is the filter
>layer mishandling things when a filter function gives it a multiline
>string, so it generates an invalid SV state (strlen(SvPVX(PL_linestr))
>> SvCUR(PL_linestr)).  This faulty state also occurs without -Dmad,
>and so doesn't appear to be Mad-related, it just doesn't in practice
>cause the test panic without -Dmad.  I'm investigating this bug now.

It's fixed by the attached patch.  Since the bug is an inconsistency
in the SV data structure, it can't be sensibly tested from Perl code,
so I'm at a loss for writing a test script.  Hopefully that panic with
-Dmad is sufficient.


Signed-off-by: H.Merijn Brand <>
13 years ago-Dmad minitest failure bisect
Zefram [Thu, 26 Nov 2009 15:19:09 +0000 (15:19 +0000)]
-Dmad minitest failure bisect

Tony Cook wrote:
>Smokes with -Dmad have been failing during make minitest since the
>middle of last month.

Mostly fixed by the attached patch.  The fault is a logic error on my
part, probably from the early phase of developing the lexer API patch,
when I didn't properly understand the various buffer pointer variables.

In my tests with -Dmad, I'm still getting a test failure ("panic: input
overflow") from t/op/incfilter.t.  The underlying problem is the filter
layer mishandling things when a filter function gives it a multiline
string, so it generates an invalid SV state (strlen(SvPVX(PL_linestr))
> SvCUR(PL_linestr)).  This faulty state also occurs without -Dmad,
and so doesn't appear to be Mad-related, it just doesn't in practice
cause the test panic without -Dmad.  I'm investigating this bug now.


Signed-off-by: H.Merijn Brand <>
13 years agoperlbug reports "Message sent" even when it hasn't
Tim Bunce (via RT) [Wed, 25 Nov 2009 11:02:24 +0000 (03:02 -0800)]
perlbug reports "Message sent" even when it hasn't

perlbug doesn't check the return status of Mail::Send and so reports
"Message sent" even if it hasn't:

13 years agoperl-5.11.2 breaks NYTProf savesrc option (Lexer API suspected)
Zefram [Wed, 25 Nov 2009 22:17:52 +0000 (22:17 +0000)]
perl-5.11.2 breaks NYTProf savesrc option (Lexer API suspected)

Tim Bunce wrote:
>The primary issue is the off-by-one error in the array indexing.

There's a bit more to it than that.  The indexing was off-by-one for
*some* places that process a new line, but correct for others, so the
saved source as a whole was mangled rather than simply offset.  Also,
there were some redundant calls to update_debugger_info(), so some lines
got saved twice, in some cases off-by-one for one saving and not for
the other.  The saved source is, therefore, hopelessly broken in 5.11.2.

Attached patch fixes the source saving.  Includes a new test, which works
through all reachable places that source lines get saved.  This should
close RT #70804.


13 years agoJerry's last patch to add a TODO test didn't update the test count.
Jesse Vincent [Wed, 25 Nov 2009 20:47:41 +0000 (15:47 -0500)]
Jerry's last patch to add a TODO test didn't update the test count.

Thanks to Nicholas++ for pointing this out

13 years agoMoved the original test file from the previous patch into t/op/lex.t,
Jesse Vincent [Wed, 25 Nov 2009 18:47:38 +0000 (13:47 -0500)]
Moved the original test file from the previous patch into t/op/lex.t,

Aded details on the bug it fixes to the tests.

13 years agoadd interpolation test for [perl #70091]
Gerard Goossen [Tue, 24 Nov 2009 11:13:13 +0000 (12:13 +0100)]
add interpolation test for [perl #70091]

(Updated by Jesse Vincent to put the test in comp rather than a new
toplevel test directory)

13 years agoAlso skip spaces after variable if we are within lexical brackets. Fixes #70091:...
Gerard Goossen [Tue, 24 Nov 2009 11:06:55 +0000 (12:06 +0100)]
Also skip spaces after variable if we are within lexical brackets. Fixes #70091: Segmentation fault in hash lookup in regex substitution

13 years agoAdd assertions that pp_padav and pp_padhv push scalars of the correct type.
Gerard Goossen [Tue, 24 Nov 2009 10:27:04 +0000 (11:27 +0100)]
Add assertions that pp_padav and pp_padhv push scalars of the correct type.

13 years agofurther windows makefiles fixes
Karl Williamson [Wed, 25 Nov 2009 15:30:57 +0000 (08:30 -0700)]
further windows makefiles fixes

Message-ID: <>

13 years agowrap uniprops.t; makefile changes for mktables
Karl Williamson [Tue, 24 Nov 2009 20:47:37 +0000 (13:47 -0700)]
wrap uniprops.t; makefile changes for mktables

Message-ID: <>

13 years agoAdd TODO test for perl #70748
Jerry D. Hedden [Tue, 24 Nov 2009 21:26:08 +0000 (16:26 -0500)]
Add TODO test for perl #70748

13 years agoBump version and regenerate
Rafael Garcia-Suarez [Tue, 24 Nov 2009 12:51:21 +0000 (13:51 +0100)]
Bump version and regenerate

13 years agoAdd tests.
Andrew Rodland [Sat, 14 Nov 2009 09:08:46 +0000 (03:08 -0600)]
Add tests.

13 years agoAdd code and starting perldoc for warnings::fatal_enabled.
Andrew Rodland [Sat, 14 Nov 2009 07:26:09 +0000 (01:26 -0600)]
Add code and starting perldoc for warnings::fatal_enabled.

This is an analog for warnings::enabled, except it tests whether the
given category has been set fatal using "use warnings FATAL => foo".
This is mostly for symmetry.

Assumes that the fatal bit for a category will have an offset one higher
than the regular bit for the category, because otherwise much rewriting
of __chk would be required.

13 years agoAdd missing library to VC++ section of Win32 dmake makefile
Steve Hay [Tue, 24 Nov 2009 11:02:58 +0000 (11:02 +0000)]
Add missing library to VC++ section of Win32 dmake makefile

13 years agoAvoid circularity in $(LINK_FLAGS) definition in Win32 dmake makefile
Steve Hay [Tue, 24 Nov 2009 10:51:54 +0000 (10:51 +0000)]
Avoid circularity in $(LINK_FLAGS) definition in Win32 dmake makefile

13 years agocleanup get_arena param-names, mark as May-Change
Jim Cromie [Mon, 23 Nov 2009 21:47:07 +0000 (14:47 -0700)]
cleanup get_arena param-names, mark as May-Change

new param-names reflect actual usage.
Mark as may-change so we can add a reqid field later.

13 years agoSlight rewording of last patch
Rafael Garcia-Suarez [Tue, 24 Nov 2009 09:46:21 +0000 (10:46 +0100)]
Slight rewording of last patch

13 years agoadd mention of PERL_MEM_LOG in perlrun.pod
Jim Cromie [Mon, 23 Nov 2009 18:57:15 +0000 (11:57 -0700)]
add mention of PERL_MEM_LOG in perlrun.pod

13 years agoSpecify in Makefile what generates pod/perluniprops.pod
Rafael Garcia-Suarez [Tue, 24 Nov 2009 09:18:20 +0000 (10:18 +0100)]
Specify in Makefile what generates pod/perluniprops.pod

13 years agoFix Win32 makefiles as per f86864acbf97469fd9e5d5233d51ff743f4d8d6e
Steve Hay [Tue, 24 Nov 2009 09:22:42 +0000 (09:22 +0000)]
Fix Win32 makefiles as per f86864acbf97469fd9e5d5233d51ff743f4d8d6e

13 years agoRemove generated file pod/perluniprops.pod from the source distribution
Rafael Garcia-Suarez [Tue, 24 Nov 2009 08:47:46 +0000 (09:47 +0100)]
Remove generated file pod/perluniprops.pod from the source distribution

13 years agomktables not run unless needed
Karl Williamson [Mon, 23 Nov 2009 23:26:16 +0000 (16:26 -0700)]
mktables not run unless needed

13 years agorecord version of Intel C during configure
Tony Cook [Tue, 24 Nov 2009 06:44:56 +0000 (17:44 +1100)]
record version of Intel C during configure

Currently building with icc records an empty ccversion, the attached
change fixes that.


Signed-off-by: H.Merijn Brand <>
13 years ago* Remove some end-of-line whitespace from perlebcdic
brian d foy [Tue, 24 Nov 2009 00:55:24 +0000 (18:55 -0600)]
* Remove some end-of-line whitespace from perlebcdic

13 years ago* Convert some pod files to UTF-8 (like all of the other pod files)
brian d foy [Tue, 24 Nov 2009 00:53:39 +0000 (18:53 -0600)]
* Convert some pod files to UTF-8 (like all of the other pod files)

13 years ago* Reword the sentence about checking unlink failures
brian d foy [Tue, 24 Nov 2009 00:52:57 +0000 (18:52 -0600)]
* Reword the sentence about checking unlink failures

13 years agoFix code-before-declaration error on Win32 with recent VC++ compilers
Steve Hay [Mon, 23 Nov 2009 23:04:41 +0000 (23:04 +0000)]
Fix code-before-declaration error on Win32 with recent VC++ compilers

(We only #define SET_INVALID_PARAMETER_HANDLER for VC2005 and later, so
users of earlier compilers will not have seen this error)

13 years agoUpgrade to threads 1.75
Jerry D. Hedden [Mon, 23 Nov 2009 15:34:04 +0000 (10:34 -0500)]
Upgrade to threads 1.75

13 years agoDon't suggest Mail::Send isn't availble if we're ignoring it
Abigail [Mon, 23 Nov 2009 17:56:44 +0000 (18:56 +0100)]
Don't suggest Mail::Send isn't availble if we're ignoring it

13 years agoMove change c35076938c7236fb into embed.fnc, from the generated file proto.h
Nicholas Clark [Mon, 23 Nov 2009 15:07:47 +0000 (15:07 +0000)]
Move change c35076938c7236fb into embed.fnc, from the generated file proto.h

13 years agoAdded a perltodo about enabling/disabling individual warnings
Jesse Vincent [Mon, 23 Nov 2009 14:38:10 +0000 (09:38 -0500)]
Added a perltodo about enabling/disabling individual warnings

13 years agoFix mktables calls in Win32 makefiles
Nicholas Clark [Mon, 23 Nov 2009 11:02:17 +0000 (11:02 +0000)]
Fix mktables calls in Win32 makefiles

Subject: Re: Smoke [5.11.2] v5.11.2-42-g02b203e FAIL(M) MSWin32 WinXP/.Net SP3 (x86/2 cpu)
Date: Mon, 23 Nov 2009 11:02:17 +0000
Message-ID: <>

13 years agoMake unicode semantics the default
Karl Williamson [Fri, 20 Nov 2009 18:02:01 +0000 (11:02 -0700)]
Make unicode semantics the default

13 years agodisable Module::Build bundle_inc.t
David Golden [Mon, 23 Nov 2009 12:38:11 +0000 (07:38 -0500)]
disable Module::Build bundle_inc.t

13 years agoMore info about camel in perlrepository.pod
Dennis Kaarsemaker [Sat, 21 Nov 2009 20:51:46 +0000 (21:51 +0100)]
More info about camel in perlrepository.pod

Signed-off-by: H.Merijn Brand <>
13 years agofix logic for a workaround in POSIX.xs
Stepan Kasal [Mon, 23 Nov 2009 11:14:06 +0000 (12:14 +0100)]
fix logic for a workaround in POSIX.xs

There is the assignment "RETVAL = 0" to silence the compiler in case
it incorrectly reports return of an undefined value.
This assignment should be present whenever *any* of the symbols is
not defined.  But the code was written so that the assignment was
compiled only when *none* of the symbols was defined.

13 years agoUse hex instead of octal for larger code points
Karl Williamson [Sat, 21 Nov 2009 00:14:30 +0000 (17:14 -0700)]
Use hex instead of octal for larger code points

13 years agoAdd also mktables.lst to gitignore, since it's generated
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:44:17 +0000 (22:44 +0100)]
Add also mktables.lst to gitignore, since it's generated

13 years agoAdd new pod file to various lists and makefiles
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:35:31 +0000 (22:35 +0100)]
Add new pod file to various lists and makefiles

13 years agoSimplify title of perluniprops
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:30:17 +0000 (22:30 +0100)]
Simplify title of perluniprops

The man standard requires the title to be on one line.

13 years agoAdd deprecation of goto to inner scopes to perldelta
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:17:43 +0000 (22:17 +0100)]
Add deprecation of goto to inner scopes to perldelta

13 years agoAdd Karl's text describing his Unicode property changes to perldelta
Rafael Garcia-Suarez [Sun, 22 Nov 2009 21:14:35 +0000 (22:14 +0100)]
Add Karl's text describing his Unicode property changes to perldelta

13 years agoMerge branch 'mktables' into blead
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:39:07 +0000 (21:39 +0100)]
Merge branch 'mktables' into blead

13 years agoRemove mktables.lst, since it's generated
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:37:51 +0000 (21:37 +0100)]
Remove mktables.lst, since it's generated

13 years agoAdd new generated file lib/unicore/ to gitignore
Rafael Garcia-Suarez [Sun, 22 Nov 2009 20:10:38 +0000 (21:10 +0100)]
Add new generated file lib/unicore/ to gitignore

Also remove from there files that are no longer generated by mktables.

13 years agoFix plan syntax in TAP output
Rafael Garcia-Suarez [Sun, 22 Nov 2009 18:50:33 +0000 (19:50 +0100)]
Fix plan syntax in TAP output

13 years agomktables revamp
Karl Williamson [Sun, 22 Nov 2009 06:45:28 +0000 (23:45 -0700)]
mktables revamp

13 years agoFix unindented code in perlfunc after 5ed4f2ecec5b66feed399b9a24471aeac4242cdb
Vincent Pit [Sat, 21 Nov 2009 21:07:31 +0000 (22:07 +0100)]
Fix unindented code in perlfunc after 5ed4f2ecec5b66feed399b9a24471aeac4242cdb

13 years agoResort MANIFEST - Latest Module::Build MANIFEST update broke sorting.
Jesse Vincent [Sat, 21 Nov 2009 19:27:39 +0000 (14:27 -0500)]
Resort MANIFEST - Latest Module::Build MANIFEST update broke sorting.

13 years agoAdd new warning introduced by last patch in perldiag.
Rafael Garcia-Suarez [Sat, 21 Nov 2009 19:01:05 +0000 (20:01 +0100)]
Add new warning introduced by last patch in perldiag.

13 years agodeprecate "goto" to jump into a construct
Gerard Goossen [Sat, 21 Nov 2009 11:16:07 +0000 (12:16 +0100)]
deprecate "goto" to jump into a construct

13 years agoForce OP_REQUIRE to scalar context at the end of ck_require and don't let it become...
Gerard Goossen [Mon, 16 Nov 2009 12:58:24 +0000 (13:58 +0100)]
Force OP_REQUIRE to scalar context at the end of ck_require and don't let it become void context. Fixes problem with require not always being in scalar context.

13 years agoAdd a TODO test for "require" always being in scalar context.
Gerard Goossen [Mon, 16 Nov 2009 12:50:23 +0000 (13:50 +0100)]
Add a TODO test for "require" always being in scalar context.

13 years agoMake -UDEBUGGING the default on VMS for 5.12.0.
Craig A. Berry [Sat, 21 Nov 2009 17:17:38 +0000 (11:17 -0600)]
Make -UDEBUGGING the default on VMS for 5.12.0.

Like it has been everywhere else for ages and ages.  Also make
command-line selection of -UDEBUGGING and -DDEBUGGING work in; before the only way to turn it off was by saying
no in answer to the interactive question.

13 years agoPerl_pad_sv and Perl_hv_assert don't exist without -DDEBUGGING.
Craig A. Berry [Sat, 21 Nov 2009 17:13:01 +0000 (11:13 -0600)]
Perl_pad_sv and Perl_hv_assert don't exist without -DDEBUGGING.

So let's not make them part of the API when they don't exist.

13 years agoDeclaration nit in vms.c's Perl_my_fwrite.
Craig A. Berry [Sat, 21 Nov 2009 17:09:47 +0000 (11:09 -0600)]
Declaration nit in vms.c's Perl_my_fwrite.

Don't use register storage class for something we later take the
address of.

13 years agoUpdate generated Module::Build::ConfigData
David Golden [Sat, 21 Nov 2009 04:57:43 +0000 (23:57 -0500)]
Update generated Module::Build::ConfigData

13 years agoAvoid logical name conflicts in File::Path::_rmtree on VMS.
Craig A. Berry [Sat, 21 Nov 2009 04:14:21 +0000 (22:14 -0600)]
Avoid logical name conflicts in File::Path::_rmtree on VMS.

already submitted upstream at:

13 years agoAlways add a manifest resource to perl.exe to specify the <trustInfo>
Jan Dubois [Thu, 30 Apr 2009 23:53:20 +0000 (16:53 -0700)]
Always add a manifest resource to perl.exe to specify the <trustInfo>
settings for Windows Vista and later.  Without this setting Windows
will treat perl.exe as a legacy application and apply various
heuristics like redirecting access to protected file system areas
(like the "Program Files" folder) to the users "VirtualStore"
instead of generating a proper "permission denied" error.

For VC8 and VC9 this manifest setting is automatically generated by
the compiler/linker (together with the binding information for their
respective runtime libraries); for all other compilers we need to
embed the manifest resource explicitly in the external resource file.

This change also requests the Microsoft Common-Controls version 6.0
(themed controls introduced in Windows XP) via the dependency list
in the assembly manifest.  For VC8 and VC9 this is specified using the
/manifestdependency linker commandline option instead.

13 years agoquick-fix broken Module::Build::Platforms::VMS
David Golden [Fri, 20 Nov 2009 20:08:48 +0000 (15:08 -0500)]
quick-fix broken Module::Build::Platforms::VMS

13 years agoUpdate count
Abigail [Fri, 20 Nov 2009 18:05:40 +0000 (19:05 +0100)]
Update count

13 years agoMerge branch 'blead' of ssh:// into blead
Abigail [Fri, 20 Nov 2009 18:01:48 +0000 (19:01 +0100)]
Merge branch 'blead' of ssh:// into blead

13 years agoFix bug #68260
Abigail [Fri, 20 Nov 2009 17:58:34 +0000 (18:58 +0100)]
Fix bug #68260

File::Find was not resolving paths of the form "/..////../" correctly.
Fixed by adding a quantifier to the substitution parameter in

13 years agoParse embed.fnc first, then cross-check consistency between it and =for apidoc
Nicholas Clark [Fri, 20 Nov 2009 13:43:00 +0000 (13:43 +0000)]
Parse embed.fnc first, then cross-check consistency between it and =for apidoc

13 years agoSynchronise "may change"/"experimental" flags between embed.fnc and =for apidoc
Nicholas Clark [Fri, 20 Nov 2009 13:42:04 +0000 (13:42 +0000)]
Synchronise "may change"/"experimental" flags between embed.fnc and =for apidoc

13 years agoMerge near-duplicate code for 'api' and 'guts'.
Nicholas Clark [Fri, 20 Nov 2009 11:03:04 +0000 (11:03 +0000)]
Merge near-duplicate code for 'api' and 'guts'.

13 years agoMerge %apidocs and %gutsdocs into $docs{api} and $docs{guts}.
Nicholas Clark [Fri, 20 Nov 2009 11:00:05 +0000 (11:00 +0000)]
Merge %apidocs and %gutsdocs into $docs{api} and $docs{guts}.

13 years agoClarify docs for implicit "next" on all "when" blocks
Moritz Lenz [Thu, 19 Nov 2009 14:32:19 +0000 (15:32 +0100)]
Clarify docs for implicit "next" on all "when" blocks

13 years agoMissing static storage class for some new static functions
Rafael Garcia-Suarez [Fri, 20 Nov 2009 11:05:23 +0000 (12:05 +0100)]
Missing static storage class for some new static functions

13 years agoFix up the NAME in perl5112delta.pod
Nicholas Clark [Fri, 20 Nov 2009 10:41:08 +0000 (10:41 +0000)]
Fix up the NAME in perl5112delta.pod

(It needs to be this way to make generate the right links)
This step is already described in release_managers_guide.pod.

13 years agoAlways bless filehandles into IO::Handle:: - don't try for FileHandle:: first.
Nicholas Clark [Fri, 20 Nov 2009 10:23:54 +0000 (10:23 +0000)]
Always bless filehandles into IO::Handle:: - don't try for FileHandle:: first.

Given that FileHandle "is now a front-end to the IO::* classes" it seems
wasted effort to indirect through it.

13 years agoUpdated Module::CoreList Changes etc for a CPAN release
Chris Williams [Fri, 20 Nov 2009 09:41:34 +0000 (09:41 +0000)]
Updated Module::CoreList Changes etc for a CPAN release

13 years agocreate perl5113delta
Leon Brocard [Fri, 20 Nov 2009 07:43:44 +0000 (07:43 +0000)]
create perl5113delta

13 years agoFix perldelta_template extension
Leon Brocard [Fri, 20 Nov 2009 07:39:20 +0000 (07:39 +0000)]
Fix perldelta_template extension

13 years agoTiny English fix
Leon Brocard [Fri, 20 Nov 2009 07:31:28 +0000 (07:31 +0000)]
Tiny English fix

13 years ago* Note that unlink sets $! on failure.
brian d foy [Fri, 20 Nov 2009 00:38:30 +0000 (18:38 -0600)]
* Note that unlink sets $! on failure.

The docs to unlink didn't explicitly note that it set $! on
failure, unlike the docs on some other system calls do.

While I was in there, I cleansed the entry a little and
added an example of unlinking files one-by-one to find
the ones that fail.

Modern Perl fix: let's call a glob a glob() and not a <*>.

This problem was noted on the Perl Beginner's list:

13 years ago* Fixing inconsistent use of tabs in perlfunc. Now it's spaces spaces spaces.
brian d foy [Fri, 20 Nov 2009 00:30:12 +0000 (18:30 -0600)]
* Fixing inconsistent use of tabs in perlfunc. Now it's spaces spaces spaces.

13 years ago* FAQ sync for Nov blead release
brian d foy [Fri, 20 Nov 2009 00:10:48 +0000 (18:10 -0600)]
* FAQ sync for Nov blead release

This comes from 028b6d17a07335707c2b234cb69ac4051ed48435 in

13 years ago* Fixed sort example using =(\d+)
brian d foy [Thu, 19 Nov 2009 23:56:12 +0000 (17:56 -0600)]
* Fixed sort example using =(\d+)

The example wanted to sort a list like qw(=1 =2 =a =3 =d). One
example tried to be clever with array indices and precomputed
an array in @nums. However, it forgot to leave holes for the
elements where it could not extract a run of digits. Once the
indices were misaligned, the sort didn't give the right answer.

I know you can read the patch, but since I fixed whitespace too,
a simple diff gives you a lot of output. The old example had:

    for (@old) {
        push @nums, /=(\d+)/;
        push @caps, uc($_);

The new one keeps the indices aligned by using undef when the
match failed:

    for (@old) {
        push @nums, ( /=(\d+)/ ? $1 : undef );
        push @caps, uc($_);

This issue was reported on Stackoverflow:

13 years agoMerge branch 'blead' of ssh:// into blead v5.11.2
Leon Brocard [Thu, 19 Nov 2009 17:23:47 +0000 (17:23 +0000)]
Merge branch 'blead' of ssh:// into blead

13 years agoModule::CoreList updated for the real 5.11.2, including Module::Build changes
Leon Brocard [Thu, 19 Nov 2009 17:15:49 +0000 (17:15 +0000)]
Module::CoreList updated for the real 5.11.2, including Module::Build changes

13 years agoConvert the shell pipeline for the list of committers to a Perl 1 liner.
Nicholas Clark [Thu, 19 Nov 2009 17:05:54 +0000 (17:05 +0000)]
Convert the shell pipeline for the list of committers to a Perl 1 liner.

To me it feels better to promote our own dogfood.

13 years agoThe lexer API is very exciting, but only mention it once
Leon Brocard [Thu, 19 Nov 2009 16:56:37 +0000 (16:56 +0000)]
The lexer API is very exciting, but only mention it once

13 years agoRun Porting/podtidy
Leon Brocard [Thu, 19 Nov 2009 16:50:23 +0000 (16:50 +0000)]
Run Porting/podtidy

13 years agoAdd details of module updates
Leon Brocard [Thu, 19 Nov 2009 16:49:24 +0000 (16:49 +0000)]
Add details of module updates

13 years agoDelete a few more sections
Leon Brocard [Thu, 19 Nov 2009 16:36:50 +0000 (16:36 +0000)]
Delete a few more sections

13 years agoDelete sections, add a bunch more
Leon Brocard [Thu, 19 Nov 2009 16:29:40 +0000 (16:29 +0000)]
Delete sections, add a bunch more

13 years agoMerge branch 'blead' of into blead
H.Merijn Brand [Thu, 19 Nov 2009 16:19:09 +0000 (17:19 +0100)]
Merge branch 'blead' of into blead