This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
2 years agoAdd a "Show Config" step to the GitHub CI config.
Nicholas Clark [Tue, 22 Jun 2021 12:52:13 +0000 (12:52 +0000)]
Add a "Show Config" step to the GitHub CI config.

Hopefully this will make it easier to figure out the cause of test failures.

2 years agoCorrect grammar/spelling problems
James E Keenan [Wed, 23 Jun 2021 16:31:58 +0000 (16:31 +0000)]
Correct grammar/spelling problems

As spotted by Tux

2 years agoFix definition of ITEM_NOT_FOUND for pre-1.13 versions. 18924/head
Sergey Poznyakoff [Wed, 23 Jun 2021 12:31:42 +0000 (15:31 +0300)]
Fix definition of ITEM_NOT_FOUND for pre-1.13 versions.

2 years agoRaise version number in ext/GDBM_File/GDBM_File.pm
Sergey Poznyakoff [Wed, 23 Jun 2021 11:24:47 +0000 (14:24 +0300)]
Raise version number in ext/GDBM_File/GDBM_File.pm

2 years agoFix GDBM_File to compile with version 1.20 and earlier
Sergey Poznyakoff [Wed, 23 Jun 2021 07:26:50 +0000 (10:26 +0300)]
Fix GDBM_File to compile with version 1.20 and earlier

* ext/GDBM_File/GDBM_File.xs (ITEM_NOT_FOUND): Define conditionally,
depending on the GDBM_VERSION_MAJOR and GDBM_VERSION_MINOR.
Don't assume GDBM_ITEM_NOT_FOUND is a define (it isn't since
gdbm commit d3e27957).

2 years agoChange the "New issue" page to point to the RFC process. 18859/head
Nicholas Clark [Wed, 23 Jun 2021 06:10:34 +0000 (06:10 +0000)]
Change the "New issue" page to point to the RFC process.

2 years agoperldelta for fe991866a0
Tony Cook [Wed, 23 Jun 2021 00:55:07 +0000 (10:55 +1000)]
perldelta for fe991866a0

2 years agoperldelta for 2b96d013a
Tony Cook [Wed, 23 Jun 2021 00:45:23 +0000 (10:45 +1000)]
perldelta for 2b96d013a

2 years agofix magic and upgraded SV handling for setsockopt()'s OPTVAL
Tony Cook [Wed, 24 Mar 2021 01:02:54 +0000 (12:02 +1100)]
fix magic and upgraded SV handling for setsockopt()'s OPTVAL

The code here checked SV flags before fetching magic, potentially
getting confused if magic fetched changed flags.

This also fixes handling for upgraded SVs, but I'm not sure that can
be tested sufficiently portably.

2 years agoperl5db: add tests for v command
Tony Cook [Tue, 22 Jun 2021 06:19:23 +0000 (16:19 +1000)]
perl5db: add tests for v command

2 years agobump perl5db.pl $VERSION to 1.61
Tony Cook [Tue, 22 Jun 2021 05:41:57 +0000 (15:41 +1000)]
bump perl5db.pl $VERSION to 1.61

2 years agofix comment.
Atsushi SUGAWARA [Thu, 17 Jun 2021 00:50:36 +0000 (09:50 +0900)]
fix comment.

2 years agolib/perl5db.pl: cmd_l() no longer exists.
Atsushi SUGAWARA [Thu, 17 Jun 2021 00:47:48 +0000 (09:47 +0900)]
lib/perl5db.pl: cmd_l() no longer exists.

Subroutine cmd_l() no longer exists.
Now we should call cmd_l_main().

2 years agoCorrect typo in inline comment
James E Keenan [Mon, 21 Jun 2021 23:26:45 +0000 (19:26 -0400)]
Correct typo in inline comment

2 years agoMerge branch 'leont/xs_dynaloader' into blead
James E Keenan [Sun, 20 Jun 2021 14:29:44 +0000 (14:29 +0000)]
Merge branch 'leont/xs_dynaloader' into blead

2 years agoDrop support for XSLoader below 5.6
Todd Rinaldo [Thu, 8 Oct 2020 04:33:57 +0000 (23:33 -0500)]
Drop support for XSLoader below 5.6

Now we're using our, there's no value to attempting to support
versions below 5.6.

2 years agoMake DynaLoader strict-safe
Leon Timmermans [Sat, 20 Mar 2021 00:20:15 +0000 (01:20 +0100)]
Make DynaLoader strict-safe

2 years agoAdd warnings to DynaLoader/Makefile.PL
Leon Timmermans [Fri, 19 Mar 2021 19:33:14 +0000 (20:33 +0100)]
Add warnings to DynaLoader/Makefile.PL

2 years agoAdd warnings to DynaLoader.t
Leon Timmermans [Fri, 19 Mar 2021 19:32:52 +0000 (20:32 +0100)]
Add warnings to DynaLoader.t

2 years agoAdd strict to XSLoader_pm.PL
Leon Timmermans [Fri, 19 Mar 2021 19:32:32 +0000 (20:32 +0100)]
Add strict to XSLoader_pm.PL

2 years agoAdd warnings to XSLoader.t
Leon Timmermans [Fri, 19 Mar 2021 19:32:11 +0000 (20:32 +0100)]
Add warnings to XSLoader.t

2 years agoFix link for synology
Thibault DUPONCHELLE [Thu, 17 Jun 2021 07:58:41 +0000 (09:58 +0200)]
Fix link for synology

2 years agoNo https for std.dkuug.dk
Thibault DUPONCHELLE [Thu, 17 Jun 2021 07:05:51 +0000 (09:05 +0200)]
No https for std.dkuug.dk

2 years agoFix some links about ebcdic
Thibault DUPONCHELLE [Thu, 17 Jun 2021 05:48:44 +0000 (07:48 +0200)]
Fix some links about ebcdic

2 years agoFix whitespace in perldelta.pod
Max Maischein [Sun, 20 Jun 2021 13:48:42 +0000 (15:48 +0200)]
Fix whitespace in perldelta.pod

2 years agoUpdate perldelta
Karl Williamson [Sat, 19 Jun 2021 17:45:08 +0000 (11:45 -0600)]
Update perldelta

with changes khw made for 5.35.1 that may be interesting externally.

2 years agoUpdate Module::CoreList for 5.35.2
Max Maischein [Sun, 20 Jun 2021 13:31:17 +0000 (15:31 +0200)]
Update Module::CoreList for 5.35.2

2 years agoBump the perl version in various places for 5.35.2
Max Maischein [Sun, 20 Jun 2021 13:25:28 +0000 (15:25 +0200)]
Bump the perl version in various places for 5.35.2

2 years agonew perldelta for 5.35.2
Max Maischein [Sun, 20 Jun 2021 13:12:55 +0000 (15:12 +0200)]
new perldelta for 5.35.2

2 years agoTick the entry for 5.35.1 in release_schedule.pod
Max Maischein [Sun, 20 Jun 2021 13:05:29 +0000 (15:05 +0200)]
Tick the entry for 5.35.1 in release_schedule.pod

2 years agoUpdate epigraphs.pod
Max Maischein [Sun, 20 Jun 2021 13:04:14 +0000 (15:04 +0200)]
Update epigraphs.pod

2 years agoMerge branch 'release-5.35.1' into blead
Max Maischein [Sun, 20 Jun 2021 12:57:00 +0000 (14:57 +0200)]
Merge branch 'release-5.35.1' into blead

# Conflicts:
# pod/perldelta.pod

2 years agoadd new release to perlhist v5.35.1
Max Maischein [Sun, 20 Jun 2021 11:38:43 +0000 (13:38 +0200)]
add new release to perlhist

2 years agoUpdate perldelta
Max Maischein [Sun, 20 Jun 2021 11:28:00 +0000 (13:28 +0200)]
Update perldelta

2 years agoUpdate Module::CoreList for 5.35.1
Max Maischein [Sun, 20 Jun 2021 10:55:13 +0000 (12:55 +0200)]
Update Module::CoreList for 5.35.1

2 years agoUpdate perldelta
Karl Williamson [Sat, 19 Jun 2021 17:45:08 +0000 (11:45 -0600)]
Update perldelta

with changes khw made for 5.35.1 that may be interesting externally.

2 years agoperlapio: PerlIO_reopen() doesn't take thread context
Karl Williamson [Sat, 19 Jun 2021 17:38:35 +0000 (11:38 -0600)]
perlapio: PerlIO_reopen() doesn't take thread context

2 years agoRegresison test that multiple statements in 'try' also yields a result
Paul "LeoNerd" Evans [Tue, 15 Jun 2021 00:27:36 +0000 (01:27 +0100)]
Regresison test that multiple statements in 'try' also yields a result

2 years agoscalarseq() should not put an OP_ENTER kid into scalar context (fixes #18855)
Paul "LeoNerd" Evans [Mon, 14 Jun 2021 23:29:36 +0000 (00:29 +0100)]
scalarseq() should not put an OP_ENTER kid into scalar context (fixes #18855)

2 years agoMerge branch 'thibaultduponchelle-fix_links' into blead
James E Keenan [Thu, 17 Jun 2021 12:44:34 +0000 (12:44 +0000)]
Merge branch 'thibaultduponchelle-fix_links' into blead

2 years agoMANIFEST: Add comment
Karl Williamson [Wed, 19 Aug 2020 19:21:53 +0000 (13:21 -0600)]
MANIFEST: Add comment

2 years agoSilence one "non-numeric" warning
James E Keenan [Thu, 10 Jun 2021 01:05:04 +0000 (01:05 +0000)]
Silence one "non-numeric" warning

As suggested by Tom Hukins.

For: https://github.com/Perl/perl5/issues/18244

2 years agoRename scalarseq() to a somewhat more meaningful voidnonfinal()
Paul "LeoNerd" Evans [Tue, 15 Jun 2021 13:29:15 +0000 (14:29 +0100)]
Rename scalarseq() to a somewhat more meaningful voidnonfinal()

2 years agoUpdate UCD version. Remove changes to cpan Encode. Regen 18899/head
Thibault DUPONCHELLE [Thu, 17 Jun 2021 06:26:33 +0000 (08:26 +0200)]
Update UCD version. Remove changes to cpan Encode. Regen

2 years agoblogs.perl.org is not https
Thibault DUPONCHELLE [Thu, 17 Jun 2021 05:20:07 +0000 (07:20 +0200)]
blogs.perl.org is not https

2 years agoFix several unicode.org links
Thibault DUPONCHELLE [Wed, 16 Jun 2021 17:11:49 +0000 (19:11 +0200)]
Fix several unicode.org links

2 years agoFix link for unicode faq
Thibault DUPONCHELLE [Wed, 16 Jun 2021 17:04:59 +0000 (19:04 +0200)]
Fix link for unicode faq

2 years agopmd/cpd moved to GitHub and GitHub pages
Thibault DUPONCHELLE [Wed, 16 Jun 2021 17:00:45 +0000 (19:00 +0200)]
pmd/cpd moved to GitHub and GitHub pages

2 years agoMANIFEST: Add comment
Karl Williamson [Wed, 19 Aug 2020 19:21:53 +0000 (13:21 -0600)]
MANIFEST: Add comment

2 years agoMerge branch 'gh-18244-freebsd-osvers-20210609' into blead
James E Keenan [Wed, 16 Jun 2021 19:51:56 +0000 (19:51 +0000)]
Merge branch 'gh-18244-freebsd-osvers-20210609' into blead

2 years agoSilence one "non-numeric" warning 18873/head
James E Keenan [Thu, 10 Jun 2021 01:05:04 +0000 (01:05 +0000)]
Silence one "non-numeric" warning

As suggested by Tom Hukins.

For: https://github.com/Perl/perl5/issues/18244

2 years agoRename scalarseq() to a somewhat more meaningful voidnonfinal()
Paul "LeoNerd" Evans [Tue, 15 Jun 2021 13:29:15 +0000 (14:29 +0100)]
Rename scalarseq() to a somewhat more meaningful voidnonfinal()

2 years agoFix perlbuzz link
Thibault DUPONCHELLE [Wed, 16 Jun 2021 16:49:32 +0000 (18:49 +0200)]
Fix perlbuzz link

2 years agoDisambiguate what user sees in interactive Configure
H.Merijn Brand [Wed, 16 Jun 2021 06:30:15 +0000 (08:30 +0200)]
Disambiguate what user sees in interactive Configure

User should expect to see configuration questions spelled 'UTF-8', not
'UTF8' (even if we store information internally or in config.sh without
the hyphen).

Correct user prompts accordingly.

For: #18844

https://github.com/Perl/perl5/pull/18870 by @jkeenan

2 years agoperl.h: Pay attention to if can have non-int bitfields
Karl Williamson [Wed, 19 Aug 2020 03:13:42 +0000 (21:13 -0600)]
perl.h: Pay attention to if can have non-int bitfields

2 years agoFix ASSUME definition
Karl Williamson [Sun, 30 May 2021 17:55:33 +0000 (11:55 -0600)]
Fix ASSUME definition

Commit 5d5b9c460e2a06563d2b5e35a1a79991460696eb fixed the definition of
ASSUME for some purposes, but broke it on Windows.  This commit should
fix that.

2 years agoFix spelling: precede
Felipe Gasper [Tue, 15 Jun 2021 04:25:38 +0000 (00:25 -0400)]
Fix spelling: precede

2 years agoAdd perldelta entry try/catch deparsing fix - 846e32ebef 18875/head
Matthew Horsfall [Mon, 14 Jun 2021 12:56:53 +0000 (08:56 -0400)]
Add perldelta entry try/catch deparsing fix - 846e32ebef

2 years agoB::Deparse: Handle try/catch when catch has an ENTER/LEAVE pair
Matthew Horsfall [Thu, 10 Jun 2021 19:58:47 +0000 (15:58 -0400)]
B::Deparse: Handle try/catch when catch has an ENTER/LEAVE pair

2 years agoregcomp.c: comments
Hugo van der Sanden [Tue, 1 Jun 2021 14:06:04 +0000 (15:06 +0100)]
regcomp.c: comments

Comment change suggestions from @hvds in PR #18835.

2 years agoregcomp.c: White-space only
Karl Williamson [Mon, 31 May 2021 21:38:21 +0000 (15:38 -0600)]
regcomp.c: White-space only

My attempt to insulate from the leading tab removal the year-old commits
finally pushed as 77a6d54c0deb1165b37dcf11c21cd334ae2579bb and
403d7eb3e4320188571cf61b9dab62ff10799f49 failed miserably.

I spent a bunch of time sorting it all out, and this is the result.

2 years agoperlgov: re-alphabetize the name list
Ricardo Signes [Sun, 13 Jun 2021 15:22:27 +0000 (11:22 -0400)]
perlgov: re-alphabetize the name list

2 years agouse www.cpan.org, not ftp.funet.fi, to check the CPAN 18883/head
Ricardo Signes [Sat, 12 Jun 2021 16:22:11 +0000 (12:22 -0400)]
use cpan.org, not ftp.funet.fi, to check the CPAN

2 years agoCPAN mirror list: stop building one
Ricardo Signes [Sat, 12 Jun 2021 16:21:53 +0000 (12:21 -0400)]
CPAN mirror list: stop building one

2 years agoperldelta entry for 52f0602 (IO upgrade)
James E Keenan [Sun, 13 Jun 2021 13:11:56 +0000 (13:11 +0000)]
perldelta entry for 52f0602 (IO upgrade)

2 years agoperldelta entry for 1c1bafd (Unicode-Collate upgrade)
James E Keenan [Sun, 13 Jun 2021 12:51:25 +0000 (12:51 +0000)]
perldelta entry for 1c1bafd (Unicode-Collate upgrade)

2 years agoUpdate Socket from CPAN to 2.032
Max Maischein [Sun, 13 Jun 2021 08:27:27 +0000 (10:27 +0200)]
Update Socket from CPAN to 2.032

2 years agoConfigure: apply recent metaconfig changes
Karl Williamson [Sat, 5 Jun 2021 14:33:25 +0000 (08:33 -0600)]
Configure: apply recent metaconfig changes

Several new probes have been added.

2 years agoConfigure changes for HAS_NON_INT_BITFIELDS
Karl Williamson [Sat, 5 Jun 2021 13:33:13 +0000 (07:33 -0600)]
Configure changes for HAS_NON_INT_BITFIELDS

This probe has been available without my realizing it had been merged.
Some compilers, chiefly IBM, use only integer-size bitfields, warning
when presented with other-sized ones.  Allowing other-sized fields is an
extension to the C standard.

These warnings don't affect the correctness of the code generated, but
very many are generated per run, potentially overwhelming the reader
into not noticing warnings that are important.

2 years agoregcomp.c: Fix typo in comment
Karl Williamson [Fri, 4 Jun 2021 03:47:24 +0000 (21:47 -0600)]
regcomp.c: Fix typo in comment

2 years agoregcomp.h: Clarify comment
Karl Williamson [Tue, 1 Jun 2021 11:59:20 +0000 (05:59 -0600)]
regcomp.h: Clarify comment

2 years agoAdd -Werror=vla by default. C99 variable-length arrays are dangerous.
Nicholas Clark [Fri, 11 Jun 2021 12:17:44 +0000 (12:17 +0000)]
Add -Werror=vla by default. C99 variable-length arrays are dangerous.

C11 makes them optional, and MSVC doesn't support them. We can't use them
(but even if we could, we should not).

2 years agoAdd missing quotes to IO::Socket::INET example
Dave Lambley [Thu, 10 Jun 2021 20:22:41 +0000 (21:22 +0100)]
Add missing quotes to IO::Socket::INET example

Also clean trailing white space.

Committer: Dave Lambley is now a Perl author.

2 years agoSkip tests of CORE::Dump on FreeBSD 18850/head
James E Keenan [Wed, 2 Jun 2021 22:10:57 +0000 (22:10 +0000)]
Skip tests of CORE::Dump on FreeBSD

Because on this OS this test writes to /var/log/messages

For: https://github.com/Perl/perl5/issues/18847

Move FreeBSD skip condition near to other 'skip_all' conditions, per
review by TonyC.

2 years agoreplace all instances of PERL_IMPLICIT_CONTEXT with MULTIPLICITY
Tomasz Konojacki [Fri, 4 Jun 2021 20:05:04 +0000 (22:05 +0200)]
replace all instances of PERL_IMPLICIT_CONTEXT with MULTIPLICITY

Since the removal of PERL_OBJECT
(acfe0abcedaf592fb4b9cb69ce3468308ae99d91) PERL_IMPLICIT_CONTEXT and
MULTIPLICITY have been synonymous and they're being used interchangeably.

To simplify the code, this commit replaces all instances of
PERL_IMPLICIT_CONTEXT with MULTIPLICITY.

PERL_IMPLICIT_CONTEXT will stay defined for compatibility with XS
modules.

2 years agoavoid a prototype warning assigning \&getcwd to *cwd
Tony Cook [Tue, 4 May 2021 05:04:25 +0000 (15:04 +1000)]
avoid a prototype warning assigning \&getcwd to *cwd

This would produce a warning if we fallback to using getcwd() where
getcwd() has a prototype.

2 years agodon't fallback to simple pwd
Tony Cook [Wed, 5 May 2021 00:12:31 +0000 (10:12 +1000)]
don't fallback to simple pwd

When _backtick_pwd invokes $pwd_cmd it first clears the PATH, and since
the command has no shell metacharacters, it perl won't invoke the
shell, so it will always fail.

An alternative here might be to use "/bin/sh -c pwd" but there's no
guarantee that pwd is available as a shell builtin.

2 years agoremove code that assuming finding pwd on the path is reasonable
Tony Cook [Tue, 4 May 2021 04:55:50 +0000 (14:55 +1000)]
remove code that assuming finding pwd on the path is reasonable

We deliberately clear PATH when invoking pwd, so this search is
useless.

2 years agoprevent undefined behaviour at a language level while probing getenv
Tony Cook [Thu, 3 Jun 2021 05:51:01 +0000 (15:51 +1000)]
prevent undefined behaviour at a language level while probing getenv

This test in Configure tries to probe for undefined behaviour in
getenv(), but provokes undefined behaviour in C/C++ by falling off
the end of a function with a non-void return type.

Without optimization clang++ generated a ud2 instruction here on
amd64 producing an illegal instruction exception.  With optimization
the test case fell off the end and started re-executing main(),
eventually producing a SIGBUS.

Simply dropping the value of getenv() here and returning NULL wasn't
useful, under -O2 the compiler optimized away the getenv() call,
voiding the whole point of the test.

2 years agoSimply the uc() and lc() documentation for novices
Scott Baker [Wed, 2 Jun 2021 20:31:28 +0000 (13:31 -0700)]
Simply the uc() and lc() documentation for novices

2 years agoSynch with CPAN version 1.30
Tomoyuki Sadahiro [Sun, 6 Jun 2021 22:23:17 +0000 (22:23 +0000)]
Synch with CPAN version 1.30

Per https://rt.cpan.org/Ticket/Display.html?id=133952

2 years agoObituary for Spider Boardman
James E Keenan [Sun, 6 Jun 2021 15:40:51 +0000 (11:40 -0400)]
Obituary for Spider Boardman

Per posting on perl.module-authors by Neil Bowers and
https://www.nashuatelegraph.com/obituaries-memorials/obituaries/2021/05/29/spider-raun-boardman/

2 years agoAdd some examples to the glob() documentation
Scott Baker [Wed, 26 May 2021 18:12:09 +0000 (11:12 -0700)]
Add some examples to the glob() documentation

2 years agoCall magic on all elements on %SIG delocalization
Leon Timmermans [Tue, 12 Jan 2021 22:47:55 +0000 (23:47 +0100)]
Call magic on all elements on %SIG delocalization

2 years agoCorrectly call delete magic on all hash magic
Leon Timmermans [Fri, 14 May 2021 12:18:03 +0000 (14:18 +0200)]
Correctly call delete magic on all hash magic

Previously it would only call it correctly if the hash magic was
RMAGICAL, which is only set if a magic either has clear magic or has
neither get or set magic. This means any magic with get or set would
break.

2 years agoRename G_ARRAY to G_LIST; provide back-compat when not(PERL_CORE)
Paul "LeoNerd" Evans [Mon, 31 May 2021 21:35:40 +0000 (22:35 +0100)]
Rename G_ARRAY to G_LIST; provide back-compat when not(PERL_CORE)

2 years agogh18770: stop scanning for substrs after *COMMIT
Hugo van der Sanden [Tue, 1 Jun 2021 13:33:57 +0000 (14:33 +0100)]
gh18770: stop scanning for substrs after *COMMIT

*ACCEPT already avoids this (because it is "ENDLIKE"), but gets a
related fix to stop scanning for start class.

2 years agoregcomp.c: white-space; comments
Karl Williamson [Sat, 2 May 2020 12:58:57 +0000 (06:58 -0600)]
regcomp.c: white-space; comments

2 years agoBase *.[ch] files: Replace leading tabs with blanks
Michael G Schwern [Wed, 5 May 2021 13:18:01 +0000 (07:18 -0600)]
Base *.[ch] files: Replace leading tabs with blanks

This is a rebasing by @khw of part of GH #18792, which I needed to get
in now to proceed with other commits.

It also strips trailing white space from the affected files.

2 years agoregcomp.c: Extract code from a too-large-function
Karl Williamson [Sat, 2 May 2020 12:45:01 +0000 (06:45 -0600)]
regcomp.c: Extract code from a too-large-function

S_regclass() is unwieldy.  This commit splits it into two nearly equal
size parts.  More could be done.

2 years agoperl5340delta: Clarify /x{,3}/
Karl Williamson [Mon, 31 May 2021 15:10:21 +0000 (09:10 -0600)]
perl5340delta: Clarify /x{,3}/

This was suggested by @LanX

This fixes GH #18812

2 years agoperluniprops: Remove references to Unicode::Unihan
Karl Williamson [Mon, 31 May 2021 15:01:58 +0000 (09:01 -0600)]
perluniprops: Remove references to Unicode::Unihan

This CPAN module doesn't work on recent Unicode versions

This fixes GH #18787

2 years agoPorting/docs-team-charter.pod: the docs team charter
Ricardo Signes [Sat, 8 May 2021 14:12:18 +0000 (10:12 -0400)]
Porting/docs-team-charter.pod: the docs team charter

2 years ago[gh 17847] data->pos_delta should stick at infinity
Hugo van der Sanden [Thu, 8 Aug 2019 16:27:14 +0000 (17:27 +0100)]
[gh 17847] data->pos_delta should stick at infinity

The expression we're about to add to data->pos_delta in this part of
study_chunk() can be both positive or negative; however while we apply
an overflow check to avoid exceeding OPTIMIZE_INFTY, we were happily
subtracting from it when the expression was negative, making it no longer
infinite.

2 years ago[gh 17847] avoid overflow on delta in study_chunk
Hugo van der Sanden [Sun, 4 Aug 2019 13:07:22 +0000 (14:07 +0100)]
[gh 17847] avoid overflow on delta in study_chunk

delta and pos_delta may hold OPTIMIZE_INFTY to represent infinity.

2 years ago[gh 17847] Include data->pos_delta in #if'd-out diagnostic
Hugo van der Sanden [Sun, 4 Aug 2019 13:31:29 +0000 (14:31 +0100)]
[gh 17847] Include data->pos_delta in #if'd-out diagnostic

2 years agogh18842: fix a pair of sprintf format warnings
Hugo van der Sanden [Mon, 31 May 2021 13:08:54 +0000 (14:08 +0100)]
gh18842: fix a pair of sprintf format warnings

The format is '%s', so it is not appropriate to wrap the char * arguments
in SVfARG().

2 years agoImprove grammar
James E Keenan [Fri, 21 May 2021 03:35:02 +0000 (23:35 -0400)]
Improve grammar

Per suggestion by oodler577 in https://github.com/Perl/perl5/pull/18736.

With correction reported as needed by grinnz in
https://github.com/Perl/perl5/pull/18806.

2 years agoAdd difference between <=> and cmp example
積丹尼 Dan Jacobson [Sat, 22 May 2021 04:24:43 +0000 (12:24 +0800)]
Add difference between <=> and cmp example

For https://github.com/Perl/perl5/issues/18742

2 years agoperlhacktips: Add callgrind profiling documentation
Matthew Horsfall [Tue, 25 May 2021 00:06:51 +0000 (20:06 -0400)]
perlhacktips: Add callgrind profiling documentation

One of the benefits of callgrind is you can profile perls that
haven't been built with debugging symbols, which can be real useful
on live-ish datasets