This is a live mirror of the Perl 5 development currently hosted at
13 years agoqr_gc.t is only TODO on 5.11.x+
David Mitchell [Thu, 23 Apr 2009 17:13:08 +0000 (18:13 +0100)]
qr_gc.t is only TODO on 5.11.x+

13 years agoAdd an idea to perltodo
Steve Peters [Thu, 23 Apr 2009 17:13:00 +0000 (12:13 -0500)]
Add an idea to perltodo

13 years agoSpace between target and colon is not optional in VMS description files.
Craig A. Berry [Thu, 23 Apr 2009 01:41:08 +0000 (20:41 -0500)]
Space between target and colon is not optional in VMS description files.

Follow-up to 7eb47696deb9a7343fb4847f7342919a6df59e21.

13 years agoSean would like to pass on his maintainership of I18N::LangTags modules.
Nicholas Clark [Wed, 22 Apr 2009 22:07:16 +0000 (23:07 +0100)]
Sean would like to pass on his maintainership of I18N::LangTags modules.
For now, consider them to be maintained by p5p.

13 years ago7eb47696deb9a7343fb4847f7342919a6df59e21 should be $(ext) rather than ext.
Nicholas Clark [Tue, 21 Apr 2009 12:38:55 +0000 (13:38 +0100)]
7eb47696deb9a7343fb4847f7342919a6df59e21 should be $(ext) rather than ext.

13 years agoFix reference to perlvms.pod after move to new location.
Craig A. Berry [Tue, 21 Apr 2009 12:36:41 +0000 (07:36 -0500)]
Fix reference to perlvms.pod after move to new location.

13 years agoWe need $(MINIPERL_EXE) before we can run Remove the duplicated -I
Nicholas Clark [Tue, 21 Apr 2009 09:51:29 +0000 (10:51 +0100)]
We need $(MINIPERL_EXE) before we can run Remove the duplicated -I

13 years agoBuild perltoc.pod, rather than shipping it. This way it can't get out of date.
Nicholas Clark [Tue, 21 Apr 2009 09:49:10 +0000 (10:49 +0100)]
Build perltoc.pod, rather than shipping it. This way it can't get out of date.

13 years agoTweak's heuristics to cope with the renamed directoriess in ext/
Nicholas Clark [Mon, 20 Apr 2009 22:01:18 +0000 (23:01 +0100)]
Tweak's heuristics to cope with the renamed directoriess in ext/

13 years agoIn, refactor to avoid repeating the final output formatting string.
Nicholas Clark [Mon, 20 Apr 2009 21:32:45 +0000 (22:32 +0100)]
In, refactor to avoid repeating the final output formatting string.

13 years agoFix calling of in Win32 nmake Makefile
Steve Hay [Mon, 20 Apr 2009 11:45:29 +0000 (12:45 +0100)]
Fix calling of in Win32 nmake Makefile

Change cd09325492c136b431317b9dee7455475831ae5b broke the nmake Makefile. Presumably Max uses the dmake ;-)

13 years agoRemove leftover copying of perlvms.pod on Win32
Steve Hay [Mon, 20 Apr 2009 11:37:32 +0000 (12:37 +0100)]
Remove leftover copying of perlvms.pod on Win32

Change dd0cfdaa8f18412a5bea90a5dd33b46569dea1c5 left these two copy commands by mistake.

13 years agoClarify PERL_SYS_INIT3() usage.
Niko Tyni [Thu, 2 Apr 2009 17:54:10 +0000 (20:54 +0300)]
Clarify PERL_SYS_INIT3() usage.

As seen in [perl #64326] and <>, the
PERL_SYS_INIT3() documentation in perlembed.pod could be clearer about
the macro arguments.

13 years agoMove vms/perlvms.pod to pod/ and update the Makfiles and Makefile generators.
Nicholas Clark [Mon, 20 Apr 2009 09:01:15 +0000 (10:01 +0100)]
Move vms/perlvms.pod to pod/ and update the Makfiles and Makefile generators.

13 years agoMake h2ph's generated preamble require-able when empty.
Craig A. Berry [Sun, 19 Apr 2009 22:08:55 +0000 (17:08 -0500)]
Make h2ph's generated preamble require-able when empty.

$Config{ccsymbols} and friends are currently empty on Win32 and
undefined on VMS.

13 years agoMake lib/h2ph.t use t/
Craig A. Berry [Sun, 19 Apr 2009 21:59:47 +0000 (16:59 -0500)]
Make lib/h2ph.t use t/

This gives the Perl one-liners some chance of being portable.

13 years agoIn the Makefile, no need to change into pod/ to create symlinks to READMEs etc.
Nicholas Clark [Sun, 19 Apr 2009 19:49:38 +0000 (20:49 +0100)]
In the Makefile, no need to change into pod/ to create symlinks to READMEs etc.

13 years agoSimpify logic in Perl_pad_free(): SvIsCOW() has the same semantics in all cases.
Nicholas Clark [Sun, 19 Apr 2009 19:05:43 +0000 (20:05 +0100)]
Simpify logic in Perl_pad_free(): SvIsCOW() has the same semantics in all cases.

13 years agoIn the context of PERL_OLD_COPY_ON_WRITE, remove comments about global mutexes.
Nicholas Clark [Sun, 19 Apr 2009 19:04:09 +0000 (20:04 +0100)]
In the context of PERL_OLD_COPY_ON_WRITE, remove comments about global mutexes.
These would only have been relevant if running under 5005 threads, which is long

13 years agoMove the symlink fo perl51110delta.pod to perldelta.pod to a top level rule.
Nicholas Clark [Sun, 19 Apr 2009 15:51:50 +0000 (16:51 +0100)]
Move the symlink fo perl51110delta.pod to perldelta.pod to a top level rule.
Add perldelta.pod to the generated_pods macro so that it is deleted still.

13 years agoIn buildtoc, refactor all the duplicated checking logic into a subroutine.
Nicholas Clark [Sun, 19 Apr 2009 14:58:30 +0000 (15:58 +0100)]
In buildtoc, refactor all the duplicated checking logic into a subroutine.

13 years agoFor Win32, add the generated files to the delete list generated by buildtoc.
Nicholas Clark [Sun, 19 Apr 2009 11:13:51 +0000 (12:13 +0100)]
For Win32, add the generated files to the delete list generated by buildtoc.

13 years agoFor VMS, generate the delete rules for generated and copied files in buildtoc.
Nicholas Clark [Sun, 19 Apr 2009 11:08:25 +0000 (12:08 +0100)]
For VMS, generate the delete rules for generated and copied files in buildtoc.

13 years agoRemove ExtUtils::MM_Haiku
Rafael Garcia-Suarez [Sat, 18 Apr 2009 21:14:10 +0000 (23:14 +0200)]
Remove ExtUtils::MM_Haiku

It's no longer in the official MakeMaker, and is incorporated
in MM_BeOS.

13 years agoMake accept the root dir in @ARGV
Max Maischein [Sat, 18 Apr 2009 16:36:28 +0000 (18:36 +0200)]
Make accept the root dir in @ARGV

13 years needs -Ilib. I had been testing with a perl that was also installed.
Nicholas Clark [Sat, 18 Apr 2009 17:36:59 +0000 (18:36 +0100)] needs -Ilib. I had been testing with a perl that was also installed.

13 years agoHere are some patches for QNX6 against 5.10.x. Unpatched and patched
H.Merijn Brand [Sat, 18 Apr 2009 14:55:34 +0000 (16:55 +0200)]
Here are some patches for QNX6 against 5.10.x. Unpatched and patched
smoke reports also attached.

From: Sean Boudreau <>
Date: Sun, 12 Apr 2009 10:18:39 -0400
Message-ID: <>

13 years agofix trivial typo in MANIFEST
David Mitchell [Sat, 18 Apr 2009 14:39:14 +0000 (15:39 +0100)]
fix trivial typo in MANIFEST

13 years agoAs no longer rebuilds repository files, no need to use
Nicholas Clark [Sat, 18 Apr 2009 12:21:05 +0000 (13:21 +0100)]
As no longer rebuilds repository files, no need to use
Refactor the duplicated logic for opening, generating and closing files into
a single output() subroutine.

13 years agogrep then sort, as it's more efficient to sort a shorter list.
Nicholas Clark [Sat, 18 Apr 2009 11:26:16 +0000 (12:26 +0100)]
grep then sort, as it's more efficient to sort a shorter list.

13 years agoAdd a --quiet option, to suppress all the routine warnings when scanning for pod
Nicholas Clark [Sat, 18 Apr 2009 11:24:18 +0000 (12:24 +0100)]
Add a --quiet option, to suppress all the routine warnings when scanning for pod

13 years agoGenerate perlapi.pod and perlintern.pod at build time, instead of shipping them.
Nicholas Clark [Sat, 18 Apr 2009 11:19:57 +0000 (12:19 +0100)]
Generate perlapi.pod and perlintern.pod at build time, instead of shipping them.

13 years agoFix failing Time-Piece tests on Win32
Steve Hay [Fri, 17 Apr 2009 11:09:54 +0000 (12:09 +0100)]
Fix failing Time-Piece tests on Win32

This fix was suggested by Rob May here:

13 years agoIn, inline and hence eliminate walk_table().
Nicholas Clark [Fri, 17 Apr 2009 09:37:01 +0000 (10:37 +0100)]
In, inline and hence eliminate walk_table().
This simplifies the code considerably, as walk_table() was relying on its &
prototype to cause the block after it to be co-erced to a passed in subroutine.

13 years agoIn, remove the unused parameters and functionality from walk_table().
Nicholas Clark [Fri, 17 Apr 2009 09:15:42 +0000 (10:15 +0100)]
In, remove the unused parameters and functionality from walk_table().
It seems that walk_table() was a direct copy from back when
was created by commit 94bdecf9800c3bee967274854f7adf2933ffd42b, and the "bonus
bits" were never refactored out.

13 years agoAdd reference to MS KB article describing leak in putenv()
Steve Hay [Fri, 17 Apr 2009 08:40:00 +0000 (09:40 +0100)]
Add reference to MS KB article describing leak in putenv()

Subject: Re: /ext/Time-Piece/t/02core.t
From: Rob May <>
Date: Thu, 16 Apr 2009 10:32:53 +0100
Message-ID: <>

13 years agoRemove last vestiges of USE_WIN32_RTL_ENV
Steve Hay [Fri, 17 Apr 2009 08:37:47 +0000 (09:37 +0100)]
Remove last vestiges of USE_WIN32_RTL_ENV

That was removed long ago by #8916, but some leftovers remained. See:

13 years agoIgnore some autogenerated makefiles
Rafael Garcia-Suarez [Thu, 16 Apr 2009 22:50:39 +0000 (00:50 +0200)]
Ignore some autogenerated makefiles

13 years agoAvoid loading Config, as we don't need to distinguish between NetWare and Win32.
Nicholas Clark [Thu, 16 Apr 2009 21:57:05 +0000 (22:57 +0100)]
Avoid loading Config, as we don't need to distinguish between NetWare and Win32.
Eliminate $Is_W32 $Is_OS2 $Is_Cygwin $Is_NetWare, and simply set $Needs_Write
directly from $^O.

As far as I can tell, these were all added in 36bb303b6ac55df9c2780b48d374c505
but never actually used for anything.

13 years agoIgnore in lib since it's now an XS module
Rafael Garcia-Suarez [Thu, 16 Apr 2009 22:00:43 +0000 (00:00 +0200)]
Ignore in lib since it's now an XS module

13 years agoBump VERSION of Data::Dumper
Rafael Garcia-Suarez [Thu, 16 Apr 2009 21:41:53 +0000 (23:41 +0200)]
Bump VERSION of Data::Dumper

13 years agoData::Dumper hash iterator needs to be reset on all hashrefs (fixes #64744)
Alex Vandiver [Wed, 15 Apr 2009 17:04:23 +0000 (13:04 -0400)]
Data::Dumper hash iterator needs to be reset on all hashrefs (fixes #64744)

13 years agoSquelch 'Constant subroutine ... undefined' warnings from .ph files
Niko Tyni [Tue, 14 Apr 2009 19:55:34 +0000 (22:55 +0300)]
Squelch 'Constant subroutine ... undefined' warnings from .ph files

As reported by Christopher Zimmermann in <>,
code generated from simple #undef directives by h2ph can cause
'Constant subroutine ... undefined' warnings if the undefined
function was eligible for inlining.

13 years agoAdd tests to verify that h2ph output compiles and is warning free
Niko Tyni [Tue, 14 Apr 2009 19:55:33 +0000 (22:55 +0300)]
Add tests to verify that h2ph output compiles and is warning free

The #include directives are #ifdef'd out so that running the
resulting code does not actually need the headers. We still
get the same effect from comparing with the expected h2ph output.

13 years agoBuild bzip2 witha C++ compiler
Paul Marquess [Thu, 16 Apr 2009 08:55:53 +0000 (09:55 +0100)]
Build bzip2 witha C++ compiler

13 years agoUpdate CPANPLUS::Dist::Build to 0.22
Chris 'BinGOs' Williams [Thu, 16 Apr 2009 20:55:52 +0000 (22:55 +0200)]
Update CPANPLUS::Dist::Build to 0.22

13 years agoDocumentation Patch: perlxs.pod
Tom Hukins [Tue, 14 Apr 2009 15:21:24 +0000 (16:21 +0100)]
Documentation Patch: perlxs.pod


Please find attached a small patch to the perlxstut.pod document.

The first part of the patch makes a link more precise.  The
second, more useful, part of the patch fixes some confused English
that doesn't make sense.

Thanks for your efforts,

Signed-off-by: H.Merijn Brand <>
13 years agoAdd file missed in previous commit.
Steve Peters [Tue, 14 Apr 2009 05:21:05 +0000 (00:21 -0500)]
Add file missed in previous commit.

13 years ago[PATCH] Update to 1.93_52
Andreas J. Koenig [Mon, 13 Apr 2009 21:35:16 +0000 (16:35 -0500)]
[PATCH] Update to 1.93_52

13 years agoMerge branch 'blead' of ssh:// into blead
Steve Peters [Mon, 13 Apr 2009 13:57:14 +0000 (08:57 -0500)]
Merge branch 'blead' of ssh:// into blead

13 years agoUpgrade to
Steve Peters [Mon, 13 Apr 2009 13:56:36 +0000 (08:56 -0500)]
Upgrade to

13 years agoRemove an unnecessary use Config;
Nicholas Clark [Mon, 13 Apr 2009 13:38:42 +0000 (14:38 +0100)]
Remove an unnecessary use Config;

13 years agoRemove Makefile.PLs that can automatically generate.
Nicholas Clark [Mon, 13 Apr 2009 13:37:19 +0000 (14:37 +0100)]
Remove Makefile.PLs that can automatically generate.
(For core modules, or where the dual life module on CPAN has a Makefile.PL that
is not the same. AUTHOR is only used for the ppm target, which the core doesn't

13 years ago[PATCH] Compress-Raw-Bzip2 2.018 (was RE: Compress-Raw-Bzip2 fails for g++)
Paul Marquess [Mon, 13 Apr 2009 13:23:28 +0000 (08:23 -0500)]
[PATCH] Compress-Raw-Bzip2 2.018 (was RE: Compress-Raw-Bzip2 fails for g++)

13 years agoRestore prototypes to XS code in attributes, accidentally lost by change 48462a7
Nicholas Clark [Mon, 13 Apr 2009 12:09:43 +0000 (13:09 +0100)]
Restore prototypes to XS code in attributes, accidentally lost by change 48462a7

13 years agoTODO tests for deparsing strict, warnings as strings, and my $x if 0;
Nicholas Clark [Mon, 13 Apr 2009 11:13:19 +0000 (12:13 +0100)]
TODO tests for deparsing strict, warnings as strings, and my $x if 0;

13 years agoour $TODO should be local $::TODO, revealing a bug in the de-commenting regexp.
Nicholas Clark [Mon, 13 Apr 2009 10:47:15 +0000 (11:47 +0100)]
our $TODO should be local $::TODO, revealing a bug in the de-commenting regexp.
Remove some orphaned trailing quotes from TODO message that are no longer
conditional code.

13 years agoCorrect two other tests that apparently should be TODOs rather than SKIPs.
Nicholas Clark [Mon, 13 Apr 2009 10:22:11 +0000 (11:22 +0100)]
Correct two other tests that apparently should be TODOs rather than SKIPs.

13 years agoA perl-version portable fix for B coping with CVf_LOCKED being removed in 5.11.
Nicholas Clark [Mon, 13 Apr 2009 09:51:20 +0000 (10:51 +0100)]
A perl-version portable fix for B coping with CVf_LOCKED being removed in 5.11.

13 years agoTweak t/lib/ to use's (better) tempfile() function.
Nicholas Clark [Mon, 13 Apr 2009 09:31:49 +0000 (10:31 +0100)]
Tweak t/lib/ to use's (better) tempfile() function.

13 years agoPropagate the upgraded TODO/SKIP parser from ext/B/t/deparse.t
Nicholas Clark [Mon, 13 Apr 2009 09:26:00 +0000 (10:26 +0100)]
Propagate the upgraded TODO/SKIP parser from ext/B/t/deparse.t

13 years agoRefactor the SKIP parser to also handle TODOs. TODO 3 tests that were wrongly
Nicholas Clark [Mon, 13 Apr 2009 09:25:01 +0000 (10:25 +0100)]
Refactor the SKIP parser to also handle TODOs. TODO 3 tests that were wrongly

13 years agoRemove CVf_LOCKED and CvLOCKED*(), now that nothing sets that flag bit.
Nicholas Clark [Mon, 13 Apr 2009 08:00:51 +0000 (09:00 +0100)]
Remove CVf_LOCKED and CvLOCKED*(), now that nothing sets that flag bit.

13 years agoGvUNIQUE* have been defined as 0 since 2005/06/30 - high time to remove them.
Nicholas Clark [Mon, 13 Apr 2009 07:43:30 +0000 (08:43 +0100)]
GvUNIQUE* have been defined as 0 since 2005/06/30 - high time to remove them.

13 years agoRemove a link to the attrs pragma, which has now been removed.
Nicholas Clark [Sun, 12 Apr 2009 16:23:32 +0000 (17:23 +0100)]
Remove a link to the attrs pragma, which has now been removed.

13 years agos/locked/lvalue/ in the examples, and remove mention of the deprecated :unique.
Nicholas Clark [Sun, 12 Apr 2009 16:06:31 +0000 (17:06 +0100)]
s/locked/lvalue/ in the examples, and remove mention of the deprecated :unique.
(Which was actually a dangling cross reference, as what it pointed to in
perlfunc had already been deleted.)

13 years agoDeprecate using "unique" with the attributes pragma.
Nicholas Clark [Sun, 12 Apr 2009 15:28:49 +0000 (16:28 +0100)]
Deprecate using "unique" with the attributes pragma.

13 years agoDeprecate using "locked" with the attributes pragma.
Nicholas Clark [Sun, 12 Apr 2009 14:50:16 +0000 (15:50 +0100)]
Deprecate using "locked" with the attributes pragma.

13 years agoConvert xsutils.c and lib/ to a regular XS extension.
Nicholas Clark [Sun, 12 Apr 2009 14:05:04 +0000 (15:05 +0100)]
Convert xsutils.c and lib/ to a regular XS extension.

13 years agoRemove #ifdef CVf_LVALUE/#endif - LVALUE subs aren't conditionally compiled.
Nicholas Clark [Sun, 12 Apr 2009 13:05:51 +0000 (14:05 +0100)]
Remove #ifdef CVf_LVALUE/#endif - LVALUE subs aren't conditionally compiled.

13 years agoDeprecate use of the attribute :locked on subroutines.
Nicholas Clark [Sun, 12 Apr 2009 11:47:27 +0000 (12:47 +0100)]
Deprecate use of the attribute :locked on subroutines.

13 years agoEliminate "Old Perl threads tutorial", which describes 5005 threads.
Nicholas Clark [Sun, 12 Apr 2009 09:56:37 +0000 (10:56 +0100)]
Eliminate "Old Perl threads tutorial", which describes 5005 threads.
pod/perlthrtut.pod is the same material reworked for ithreads.

13 years agoRebuild pod/perltoc.pod.
Nicholas Clark [Sun, 12 Apr 2009 09:47:47 +0000 (10:47 +0100)]
Rebuild pod/perltoc.pod.

13 years agoSort the MANIFEST.
Nicholas Clark [Sun, 12 Apr 2009 09:47:36 +0000 (10:47 +0100)]
Sort the MANIFEST.

13 years agoRemove attrs, which has been deprecated since 1999/10/02.
Nicholas Clark [Sun, 12 Apr 2009 09:17:24 +0000 (10:17 +0100)]
Remove attrs, which has been deprecated since 1999/10/02.

13 years agoUpgrade to NEXT-0.63.
Florian Ragwitz [Fri, 10 Apr 2009 15:29:05 +0000 (17:29 +0200)]
Upgrade to NEXT-0.63.

13 years agoDon't SEGV while warning about redefining the format STDOUT. Fixes RT #64562.
Nicholas Clark [Thu, 9 Apr 2009 18:25:37 +0000 (19:25 +0100)]
Don't SEGV while warning about redefining the format STDOUT. Fixes RT #64562.

13 years agoFix declaration-after-statement in ext/Socket/Socket.xs
Andy Dougherty [Thu, 9 Apr 2009 15:41:34 +0000 (11:41 -0400)]
Fix declaration-after-statement in ext/Socket/Socket.xs

This trivial patch lets C89-ish compilers compile Socket.c again.

Signed-off-by: H.Merijn Brand <>
13 years agoUpdate CPANPLUS::Dist::Build to 0.20
Chris Williams [Thu, 9 Apr 2009 12:01:41 +0000 (14:01 +0200)]
Update CPANPLUS::Dist::Build to 0.20

13 years agoMerge commit 'rafl/blead' into blead
Rafael Garcia-Suarez [Thu, 9 Apr 2009 07:56:39 +0000 (09:56 +0200)]
Merge commit 'rafl/blead' into blead

13 years agoNet::hostent fails make test if can't resolve localhost
David Cantrell [Wed, 8 Apr 2009 12:49:14 +0000 (14:49 +0200)]
Net::hostent fails make test if can't resolve localhost

This happens on boxes which otherwise work Just Fine and whose resolvers
work Just Fine if they don't have /etc/hosts. This patch fixes the test
file by making it skip if localhost can't be resolved and /etc/hosts
doesn't exist.

Message-ID: <>

13 years agoUse of freed comppad array during clear_yystack()
Marcus Holland-Moritz [Wed, 8 Apr 2009 07:49:19 +0000 (09:49 +0200)]
Use of freed comppad array during clear_yystack()

Message-ID: <20081026231720.34258457@r2d2>

Patch description from the original email :

I tried to make tests pass on a perl built with -DPERL_POISON,
as some tests were dying with segfaults. They all originated
from the same source: clear_yystack() after a compile error. [...]
As far as I can see, after croaking the newly
created CV is destroyed and its pad is undef'd. [...]

This will SvREFCNT_dec PL_comppad and set PL_comppad to NULL.
However, later, in clear_yystack(), when the ops are freed, the
old PL_comppad is restored by PAD_RESTORE_LOCAL, as a reference
is still in ps->comppad. But now the pad AV is already dead.

Normally (i.e. without PERL_POISON), the dead AV will have
AvARRAY(av) set to NULL by av_undef(). So PAD_RESTORE_LOCAL will
actually set PL_curpad to NULL, and thus pad_free() will not
attempt to do anything.

But with PERL_POISON, the storage for AvARRAY(av) (i.e. sv_u)
will be reused for chaining the free SV heads in the arena
(as opposed to SvANY(sv) in case of !PERL_POISON). This means
that PAD_RESTORE_LOCAL will find AvARRAY(av) non-NULL and will
set PL_curpad to that value, finally causing the segfault in

While I think I understand what's going on, I don't have the
slightest clue how to properly fix this. Given that it's not
a problem only under PERL_POISON, but always (as dead SV heads
are being used), I think it should ultimately be fixed.

The only thing I can offer right now is a patch to make it
work with PERL_POISON as good (or as bad) as without by
making PAD_RESTORE_LOCAL explicitly check if the pad passed
in is already dead and refusing to use it if it is.

13 years agoh2xs incorrectly treats enum values like macros
Niko Tyni [Sun, 19 Oct 2008 20:25:10 +0000 (23:25 +0300)]
h2xs incorrectly treats enum values like macros

Patch and description by Rainer Weikusat, forwarded from :

 The h2xs program scans C headers for 'constants' either defined
 as preprocessor macros or via enum and builds a sorted list of names
 containing the macros and enum values found in this way. This list
 is then passed to ExtUtils::Constant::WriteConstants, which generates
 the corresponding and files when perl Makefile.PL
 is executed. By default, ie when just processing a constant name, this
 function assumes that the name refers to a preprocessor macro and
 the generated C-code in contains conditional compilation
 directives to either return the macro value or Perl_constant_NOTDEF,
 depending on the defined'ness of the macro. This causes constants
 defined as enumeration values to never be available to module users,
 because they are not visible to the preprocessor.

 Instead of passing just a name to the WriteConstants-routine, a
 hashref (members documented in ExtUtils::Constant::Base(3perl))
 can be used to specify more details regarding what code
 should be generated for a particular constant. For an enumeration
 value, a hashref constructed as

     { name => <name of the constant>, macro => 1 }

 could be used to get rid of the inappropriate preprocessor

( Another version of the same fix was also submitted by Daniel Burr in )

13 years agoUpgrade to NEXT-0.62.
Florian Ragwitz [Wed, 8 Apr 2009 01:37:43 +0000 (03:37 +0200)]
Upgrade to NEXT-0.62.

13 years agoDocs: Fixed a couple of [my] typos
Michael Witten [Tue, 7 Apr 2009 22:46:00 +0000 (17:46 -0500)]
Docs: Fixed a couple of [my] typos

I read through each my patches again and came across a typo,
a slight incorrectness, and a repeated word. Sorry.

Signed-off-by: Michael Witten <>
13 years agoDocs: Update summary and add copyright
Michael Witten [Tue, 7 Apr 2009 19:59:32 +0000 (14:59 -0500)]
Docs: Update summary and add copyright

Yeah, well, I wrote some new stuff.

13 years agoDocs: Expanded treatment of adding instance variables
Michael Witten [Tue, 7 Apr 2009 19:59:31 +0000 (14:59 -0500)]
Docs: Expanded treatment of adding instance variables

Signed-off-by: Michael Witten <>
13 years agoDocs: Clarify that a class is not an instance
Michael Witten [Tue, 7 Apr 2009 19:59:30 +0000 (14:59 -0500)]
Docs: Clarify that a class is not an instance

Signed-off-by: Michael Witten <>
13 years agoDocs: Minor modifications to discussion of constructor
Michael Witten [Tue, 7 Apr 2009 19:59:29 +0000 (14:59 -0500)]
Docs: Minor modifications to discussion of constructor

Signed-off-by: Michael Witten <>
13 years agoDocs: Make use of $self and $class clear
Michael Witten [Tue, 7 Apr 2009 19:59:28 +0000 (14:59 -0500)]
Docs: Make use of $self and $class clear

Signed-off-by: Michael Witten <>
13 years agoDocs: Better orgnization of instance discussion
Michael Witten [Tue, 7 Apr 2009 19:59:27 +0000 (14:59 -0500)]
Docs: Better orgnization of instance discussion

Signed-off-by: Michael Witten <>
13 years agoDocs: Cleanup lead-in to instance variables
Michael Witten [Tue, 7 Apr 2009 19:59:26 +0000 (14:59 -0500)]
Docs: Cleanup lead-in to instance variables

Signed-off-by: Michael Witten <>
13 years agoDocs: Better[?] development of SUPER
Michael Witten [Tue, 7 Apr 2009 19:59:25 +0000 (14:59 -0500)]
Docs: Better[?] development of SUPER

Signed-off-by: Michael Witten <>
13 years agoDocs: Get rid of those awful tabs!
Michael Witten [Tue, 7 Apr 2009 19:59:24 +0000 (14:59 -0500)]
Docs: Get rid of those awful tabs!

Signed-off-by: Michael Witten <>
13 years agoDocs: Quick explanation of duck typing and a warning
Michael Witten [Tue, 7 Apr 2009 19:59:23 +0000 (14:59 -0500)]
Docs: Quick explanation of duck typing and a warning

Signed-off-by: Michael Witten <>
13 years agoDocs: Make the "use base" purpose more obvious
Michael Witten [Tue, 7 Apr 2009 19:59:22 +0000 (14:59 -0500)]
Docs: Make the "use base" purpose more obvious

Signed-off-by: Michael Witten <>
13 years agoDocs: Minor reorganization.
Michael Witten [Tue, 7 Apr 2009 19:59:21 +0000 (14:59 -0500)]
Docs: Minor reorganization.

Signed-off-by: Michael Witten <>
13 years agoDocs: Typo: 'no strict subs' -> 'no strict refs'
Michael Witten [Tue, 7 Apr 2009 19:59:20 +0000 (14:59 -0500)]
Docs: Typo: 'no strict subs' -> 'no strict refs'

Signed-off-by: Michael Witten <>
13 years agoDocs: Typo: \{-1} -> \g{-1}
Michael Witten [Tue, 7 Apr 2009 19:59:19 +0000 (14:59 -0500)]
Docs: Typo: \{-1} -> \g{-1}

Signed-off-by: Michael Witten <>
13 years agoMake h2ph look in "include-fixed", needed by at least gcc 4.3
Niko Tyni [Sun, 5 Apr 2009 19:29:38 +0000 (22:29 +0300)]
Make h2ph look in "include-fixed", needed by at least gcc 4.3

As seen in <>, since 4.2.0 or so
gcc's search path has a new "include-fixed" directory,
which currently contains <syslimits.h> and a few other headers.

Converting <syslimits.h> therefore fails unless h2ph knows about the new
directory too.

See for some
background to the gcc change.