In perl.git, the branch smoke-me/jkeenan/134490-Dumpvalue-use-warnings has been updated
<https://perl5.git.perl.org/perl.git/commitdiff/67eb585123f82c50117f74fd12bf748a659b41e8?hp=62c19a2cbe3efedc8103bba6521f728ac0c45a44> discards 62c19a2cbe3efedc8103bba6521f728ac0c45a44 (commit) - Log ----------------------------------------------------------------- commit 67eb585123f82c50117f74fd12bf748a659b41e8 Author: James E Keenan <jkee...@cpan.org> Date: Fri Oct 11 20:01:26 2019 -0400 Dumpvalue: handle one more potential warning While working on adding tests to this module, the following warning sometimes appeared: Use of each() on hash after insertion without resetting hash iterator results in undefined behavior Per perldiag, instead use 'keys' function to iterate over hash. commit 05b815995cd713ca7400a4158dad068994422955 Author: James E Keenan <jkee...@cpan.org> Date: Wed Oct 9 15:45:41 2019 -0400 Use warnings in Dumpvalue.pm; fix those found Activating warnings showed many fixable warnings. The suppression of some of those warnings was obscuring other problems. ----------------------------------------------------------------------- Summary of changes: Changes | 2 +- INSTALL | 8 +-- MANIFEST | 2 +- META.json | 6 +-- META.yml | 6 +-- Porting/README.pod | 2 +- Porting/corelist.pl | 1 + Porting/makemeta | 6 +-- Porting/release_managers_guide.pod | 18 +++---- Porting/todo.pod | 2 +- README.cygwin | 8 +-- README.hurd | 2 +- README.jp | 2 +- README.macosx | 10 ++-- README.synology | 8 +-- README.win32 | 20 +++---- TestInit.pm | 3 +- configpm | 4 +- cop.h | 27 +++++----- cygwin/cygwin.c | 2 +- dist/Devel-PPPort/Changes | 27 ++++++++++ dist/Devel-PPPort/Makefile.PL | 8 +-- dist/Devel-PPPort/PPPort_pm.PL | 2 +- dist/Devel-PPPort/parts/inc/Sv_set | 30 +++++++---- dist/Devel-PPPort/parts/inc/misc | 1 - dist/Devel-PPPort/parts/inc/utf8 | 7 ++- dist/Dumpvalue/lib/Dumpvalue.pm | 4 +- dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm | 6 +-- dist/Locale-Maketext/ChangeLog | 2 +- dist/Safe/Safe.pm | 4 +- dist/Storable/Makefile.PL | 2 +- dist/threads-shared/t/stress.t | 4 +- dist/threads/lib/threads.pm | 20 +++---- ebcdic_tables.h | 14 ++--- handy.h | 3 +- hints/dec_osf.sh | 2 +- inline.h | 12 ++--- perl.h | 10 ++-- pod/perl.pod | 2 +- pod/perlbook.pod | 64 +++++++++++------------ pod/perlcheat.pod | 6 +-- pod/perlcommunity.pod | 2 +- pod/perldelta.pod | 24 ++++++++- pod/perldiag.pod | 2 +- pod/perldtrace.pod | 2 +- pod/perlebcdic.pod | 6 +-- pod/perlembed.pod | 2 +- pod/perlfilter.pod | 2 +- pod/perlfunc.pod | 6 +-- pod/perlgit.pod | 8 +-- pod/perlhack.pod | 28 +++++----- pod/perlhacktips.pod | 2 +- pod/perllocale.pod | 6 +-- pod/perlmodinstall.pod | 20 +++---- pod/perlmodlib.PL | 12 ++--- pod/perlootut.pod | 6 +-- pod/perlpacktut.pod | 6 +-- pod/perlpodspec.pod | 16 +++--- pod/perlport.pod | 6 +-- pod/perlre.pod | 8 +-- pod/perlrebackslash.pod | 20 +++---- pod/perlrecharclass.pod | 2 +- pod/perlreguts.pod | 4 +- pod/perlretut.pod | 6 +-- pod/perlsource.pod | 2 +- pod/perlthrtut.pod | 8 +-- pod/perltodo.pod | 2 +- pod/perlunicode.pod | 36 ++++++------- pod/perluniintro.pod | 14 ++--- regen/ebcdic.pl | 6 +-- regexec.c | 26 ++++----- t/base/lex.t | 2 +- t/benchmark/rt26188-speed-up-keys-on-empty-hash.t | 2 +- t/io/data.t | 6 +-- t/io/errno.t | 2 +- t/op/readdir.t | 4 +- t/op/universal.t | 3 +- t/porting/libperl.t | 8 +-- utf8.c | 8 +-- utils/perlbug.PL | 6 +-- 80 files changed, 387 insertions(+), 313 deletions(-) diff --git a/Changes b/Changes index 9887fbba65..283f8bd8af 100644 --- a/Changes +++ b/Changes @@ -8,7 +8,7 @@ For a list of contributors to perl, see AUTHORS. If you need a detailed commit history (i.e. descriptions of each individual commit), you can view the git version control history online -at http://perl5.git.perl.org/perl.git (follow the 'shortlog' link beside +at https://perl5.git.perl.org/perl.git (follow the 'shortlog' link beside the relevant tag). Or, you can download a copy of the git repository and then run a command like diff --git a/INSTALL b/INSTALL index 8c096899a9..eb7a67136a 100644 --- a/INSTALL +++ b/INSTALL @@ -10,7 +10,7 @@ INSTALL - Build and Installation guide for perl 5. First, make sure you have an up-to-date version of Perl. If you didn't get your Perl source from CPAN, check the latest version at -L<http://www.cpan.org/src/>. Perl uses a version scheme where even-numbered +L<https://www.cpan.org/src/>. Perl uses a version scheme where even-numbered subreleases (like 5.8.x and 5.10.x) are stable maintenance releases and odd-numbered subreleases (like 5.7.x and 5.9.x) are unstable development releases. Development releases should not be used in @@ -458,7 +458,7 @@ TCP/IP proxy protocol library. SOCKS is used to give applications access to transport layer network proxies. Perl supports only SOCKS Version 5. The corresponding Configure option is -Dusesocks. You can find more about SOCKS from wikipedia at -L<http://en.wikipedia.org/wiki/SOCKS>. +L<https://en.wikipedia.org/wiki/SOCKS>. =head3 Dynamic Loading @@ -1415,7 +1415,7 @@ including a glossary of all those config.sh variables, is in the Porting subdirectory. Porting/Glossary should especially come in handy. Ports for other systems may also be available. You should check out -L<http://www.cpan.org/ports> for current information on ports to +L<https://www.cpan.org/ports> for current information on ports to various other operating systems. If you plan to port Perl to a new architecture, study carefully the @@ -2432,7 +2432,7 @@ for details of how to report the issue. If you are unsure what makes a good bug report please read "How to report Bugs Effectively" by Simon Tatham: -L<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html> +L<https://www.chiark.greenend.org.uk/~sgtatham/bugs.html> =head1 Coexistence with earlier versions of perl 5 diff --git a/MANIFEST b/MANIFEST index 8159ac8cc1..74052779cd 100644 --- a/MANIFEST +++ b/MANIFEST @@ -5750,7 +5750,7 @@ t/op/exec.t See if exec, system and qx work t/op/exists_sub.t See if exists(&sub) works t/op/exp.t See if math functions work t/op/fh.t See if filehandles work -t/op/filehandle.t Tests for http://rt.perl.org/rt3/Ticket/Display.html?id=72586 +t/op/filehandle.t Tests for https://rt.perl.org/rt3/Ticket/Display.html?id=72586 t/op/filetest.t See if file tests work t/op/filetest_stack_ok.t See if file tests leave their argument on the stack t/op/filetest_t.t See if -t file test works diff --git a/META.json b/META.json index 4696ae5386..fb3589b5eb 100644 --- a/META.json +++ b/META.json @@ -119,12 +119,12 @@ "bugtracker" : { "web" : "https://rt.perl.org/" }, - "homepage" : "http://www.perl.org/", + "homepage" : "https://www.perl.org/", "license" : [ - "http://dev.perl.org/licenses/" + "https://dev.perl.org/licenses/" ], "repository" : { - "url" : "http://perl5.git.perl.org/" + "url" : "https://perl5.git.perl.org/" } }, "version" : "5.031005", diff --git a/META.yml b/META.yml index dc87a0e630..1af41573fe 100644 --- a/META.yml +++ b/META.yml @@ -111,8 +111,8 @@ no_index: - vxs.inc resources: bugtracker: https://rt.perl.org/ - homepage: http://www.perl.org/ - license: http://dev.perl.org/licenses/ - repository: http://perl5.git.perl.org/ + homepage: https://www.perl.org/ + license: https://dev.perl.org/licenses/ + repository: https://perl5.git.perl.org/ version: '5.031005' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff --git a/Porting/README.pod b/Porting/README.pod index 110e9f0df6..2552dd5186 100644 --- a/Porting/README.pod +++ b/Porting/README.pod @@ -361,7 +361,7 @@ A helper tool for perl's 2038 support See F<Porting/README.y2038> for details. =head2 F<todo.pod> This is a list of wishes for Perl. The most up-to-date version of this file is -at L<http://perl5.git.perl.org/perl.git/blob_plain/HEAD:/Porting/todo.pod>. +at L<https://perl5.git.perl.org/perl.git/blob_plain/HEAD:/Porting/todo.pod>. The tasks we think are smaller or easier are listed first. Anyone is welcome to work on any of these, but it's a good idea to first contact I<perl5-port...@perl.org> to avoid duplication of effort, and to learn from diff --git a/Porting/corelist.pl b/Porting/corelist.pl index ce74ed42c8..9267a7f417 100755 --- a/Porting/corelist.pl +++ b/Porting/corelist.pl @@ -292,6 +292,7 @@ foreach my $module ( sort keys %module_to_upstream ) { $bug_tracker = defined $bug_tracker ? quote($bug_tracker) : 'undef'; next if $bug_tracker eq "'http://rt.perl.org/perlbug/'"; + next if $bug_tracker eq "'https://rt.perl.org/perlbug/'"; $tracker .= sprintf " %-24s=> %s,\n", "'$module'", $bug_tracker; } $tracker .= ");"; diff --git a/Porting/makemeta b/Porting/makemeta index a5fa5a45dc..b4124d9c2f 100644 --- a/Porting/makemeta +++ b/Porting/makemeta @@ -47,14 +47,14 @@ my $distmeta = { 'dynamic_config' => 1, 'resources' => { 'repository' => { - 'url' => 'http://perl5.git.perl.org/' + 'url' => 'https://perl5.git.perl.org/' }, - 'homepage' => 'http://www.perl.org/', + 'homepage' => 'https://www.perl.org/', 'bugtracker' => { 'web' => 'https://rt.perl.org/' }, 'license' => [ - 'http://dev.perl.org/licenses/' + 'https://dev.perl.org/licenses/' ], }, }; diff --git a/Porting/release_managers_guide.pod b/Porting/release_managers_guide.pod index 7b7ccdca1a..3b39afd448 100644 --- a/Porting/release_managers_guide.pod +++ b/Porting/release_managers_guide.pod @@ -143,7 +143,7 @@ Andreas' email address at: =head3 rt.perl.org update access -Make sure you have permission to close tickets on L<http://rt.perl.org/> +Make sure you have permission to close tickets on L<https://rt.perl.org/> so you can respond to bug reports as necessary during your stint. If you don't, make an account (if you don't have one) and contact the pumpking with your username to get ticket-closing permission. @@ -366,9 +366,9 @@ This comes down to: =head3 monitor smoke tests for failures Similarly, monitor the smoking of core tests, and try to fix. See -L<https://tux.nl/perl5/smoke/index.html>, L<http://perl5.test-smoke.org/> +L<https://tux.nl/perl5/smoke/index.html>, L<https://perl5.test-smoke.org/> and L<http://perl.develop-help.com> for a summary. See also -L<http://www.nntp.perl.org/group/perl.daily-build.reports/> which has +L<https://www.nntp.perl.org/group/perl.daily-build.reports/> which has the raw reports. Similarly, monitor the smoking of perl for compiler warnings, and try to @@ -652,7 +652,7 @@ modules on CPAN. It can use a full, local CPAN mirror and/or fall back on HTTP::Tiny to fetch package metadata remotely. (If you'd prefer to have a full CPAN mirror, see -L<http://www.cpan.org/misc/cpan-faq.html#How_mirror_CPAN>) +L<https://www.cpan.org/misc/cpan-faq.html#How_mirror_CPAN>) Change to your perl checkout, and if necessary, @@ -941,7 +941,7 @@ up. In order to produce the C<xz> tarball, XZ Utils are required. The C<xz> utility is included with most modern UNIX-type operating systems and is available for Cygwin. A Windows port is available from -L<http://tukaani.org/xz/>. +L<https://tukaani.org/xz/>. B<IMPORTANT>: if you are on OS X, you must export C<COPYFILE_DISABLE=1> to prevent OS X resource files from being included in your tarball. After @@ -1540,7 +1540,7 @@ and is properly indexed: =item * -Check your author directory under L<http://www.cpan.org/authors/id/> +Check your author directory under L<https://www.cpan.org/authors/id/> to ensure that the tarballs are available on the website. =item * @@ -1557,14 +1557,14 @@ ask Ask <a...@perl.org>. =item * -Check L<http://www.cpan.org/src/> to ensure that the F</src> updates +Check L<https://www.cpan.org/src/> to ensure that the F</src> updates have been correctly mirrored to the website. If they haven't, ask Ask <a...@perl.org>. =item * -Check L<http://search.cpan.org> to see if it has indexed the distribution. -It should be visible at a URL like C<http://search.cpan.org/dist/perl-5.10.1/>. +Check L<https://search.cpan.org> to see if it has indexed the distribution. +It should be visible at a URL like C<https://search.cpan.org/dist/perl-5.10.1/>. =back diff --git a/Porting/todo.pod b/Porting/todo.pod index 16736209ba..535f30dc5f 100644 --- a/Porting/todo.pod +++ b/Porting/todo.pod @@ -5,7 +5,7 @@ todo - Perl TO-DO list =head1 DESCRIPTION This is a list of wishes for Perl. The most up to date version of this file -is at L<http://perl5.git.perl.org/perl.git/blob_plain/HEAD:/Porting/todo.pod> +is at L<https://perl5.git.perl.org/perl.git/blob_plain/HEAD:/Porting/todo.pod> The tasks we think are smaller or easier are listed first. Anyone is welcome to work on any of these, but it's a good idea to first contact diff --git a/README.cygwin b/README.cygwin index 90fb14ba15..5885ac5f69 100644 --- a/README.cygwin +++ b/README.cygwin @@ -27,7 +27,7 @@ platforms. They run thanks to the Cygwin library which provides the UNIX system calls and environment these programs expect. More information about this project can be found at: -L<http://www.cygwin.com/> +L<https://www.cygwin.com/> A recent net or commercial release of Cygwin is required. @@ -419,13 +419,13 @@ or: as parent(0x6FB30000) != 0x6FE60000 46 [main] perl 3488 fork: child 3588 - died waiting for dll loading, errno11 -See L<http://cygwin.com/faq/faq-nochunks.html#faq.using.fixing-fork-failures> +See L<https://cygwin.com/faq/faq-nochunks.html#faq.using.fixing-fork-failures> It helps if not too many DLLs are loaded in memory so the available address space is larger, e.g. stopping the MS Internet Explorer might help. Use the perlrebase or rebase utilities to resolve the conflicting dll addresses. The rebase package is included in the Cygwin setup. Use F<setup.exe> -from L<http://www.cygwin.com/setup.exe> to install it. +from L<https://cygwin.com/install.html> to install it. 1. kill all perl processes and run C<perlrebase> or @@ -523,7 +523,7 @@ path is mounted in textmode. =item C<Cygwin::sync_winenv> Cygwin does not initialize all original Win32 environment variables. -See the bottom of this page L<http://cygwin.com/cygwin-ug-net/setup-env.html> +See the bottom of this page L<https://cygwin.com/cygwin-ug-net/setup-env.html> for "Restricted Win32 environment". Certain Win32 programs called from cygwin programs might need some environment diff --git a/README.hurd b/README.hurd index 8cb0563424..6ce3c2ee06 100644 --- a/README.hurd +++ b/README.hurd @@ -9,7 +9,7 @@ perlhurd - Perl version 5 on Hurd =head1 DESCRIPTION If you want to use Perl on the Hurd, I recommend using the Debian -GNU/Hurd distribution ( see L<http://www.debian.org/> ), even if an +GNU/Hurd distribution ( see L<https://www.debian.org/> ), even if an official, stable release has not yet been made. The old "gnu-0.2" binary distribution will most certainly have additional problems. diff --git a/README.jp b/README.jp index 2bd89ea31d..55cc66e62b 100644 --- a/README.jp +++ b/README.jp @@ -59,7 +59,7 @@ Perl 自身は Unicode で動作します。Perl スクリプト内の文字列 5.8以前の、スクリプトがEUC-JPであればリテラルだけは扱うことができました。また、入出力を扱うモジュールとしてはJcode.pmが( L<http://openlab.ring.gr.jp/Jcode/> )、perl4用のユーティリティとしてはjcode.plがそれぞれ存在し、日本語の扱えるCGIでよく利用されていることを御存じの方も少なくないかと思われます。ただし、日本語による正規表現をうまく扱うことは不可能でした。 -5.005以前のPerlには、日本語に特化したローカライズ版、Jperlが存在しました( L<http://homepage2.nifty.com/kipp/perl/jperl/index.html> )。また、Mac OS 9.x/Classic用のPerl、MacPerlの日本語版もMacJPerlとして存在してました。( L<http://habilis.net/macjperl/> ).これらでは文字コードとしてEUC-JPに加えShift_JISもそのまま扱うことができ、また日本語による正規表現を扱うことも可能でした。 +5.005以前のPerlには、日本語に特化したローカライズ版、Jperlが存在しました( L<http://homepage2.nifty.com/kipp/perl/jperl/index.html> )。また、Mac OS 9.x/Classic用のPerl、MacPerlの日本語版もMacJPerlとして存在してました。( L<https://habilis.net/macjperl/> ).これらでは文字コードとしてEUC-JPに加えShift_JISもそのまま扱うことができ、また日本語による正規表現を扱うことも可能でした。 Perl5.8では、これらの機能がすべてPerl本体だけで実現できる上に、日本語のみならず上記114の文字コードをすべて、しかも同時に扱うことができます。さらに、CPANなどから新しい文字コード用のモジュールを入手することも簡単にできるようになっています。 diff --git a/README.macosx b/README.macosx index 0797c99233..757c9345be 100644 --- a/README.macosx +++ b/README.macosx @@ -10,7 +10,7 @@ perlmacosx - Perl under Mac OS X This document briefly describes Perl under Mac OS X. - curl -O http://www.cpan.org/src/perl-5.31.5.tar.gz + curl -O https://www.cpan.org/src/perl-5.31.5.tar.gz tar -xzf perl-5.31.5.tar.gz cd perl-5.31.5 ./Configure -des -Dprefix=/usr/local/ @@ -141,8 +141,8 @@ modules (C<Mac::*>), as the required Apple frameworks do not provide PPC64 support. Similarly, downloads from Fink or Darwinports are unlikely to provide 64-bit support; the libraries must be rebuilt from source with the appropriate compiler and linker flags. For further information, see Apple's -I<64-Bit Transition Guide> at -L<http://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/index.html>. +I<64-Bit Transition Guide> at +L<https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/64bitPorting/transition/transition.html>. =head2 libperl and Prebinding @@ -223,7 +223,7 @@ access Foundation (i.e. non-GUI) classes and objects. An alternative is CamelBones, a framework that allows access to both Foundation and AppKit classes and objects, so that full GUI applications can be built in Perl. CamelBones can be found on SourceForge, at -L<http://www.sourceforge.net/projects/camelbones/>. +L<https://www.sourceforge.net/projects/camelbones/>. =head1 Starting From Scratch @@ -258,7 +258,7 @@ or rebuild Perl from the source code with C<Configure -Dprefix=/usr works much better with Perl 5.8.1 and later, in Perl 5.8.0 the settings were not quite right. -"Pacifist" from CharlesSoft (L<http://www.charlessoft.com/>) is a nice +"Pacifist" from CharlesSoft (L<https://www.charlessoft.com/>) is a nice way to extract the Perl binaries from the OS media, without having to reinstall the entire OS. diff --git a/README.synology b/README.synology index b1b9d8811c..1fde18cca0 100644 --- a/README.synology +++ b/README.synology @@ -18,7 +18,7 @@ which is a trimmed-down Linux system enhanced with several tools for managing the NAS. There are several flavours of hardware: Marvell Armada (ARMv5tel, ARMv7l), Intel Atom (i686, x86_64), Freescale QorIQ (PPC), and more. For a full list see the -L<Synology FAQ|http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have>. +L<Synology FAQ|https://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have>. Since it is based on Linux, the NAS can run many popular Linux software packages, including Perl. In fact, Synology provides a @@ -42,7 +42,7 @@ H.Merijn Brand (DS213, ARMv5tel and RS815, Intel Atom x64). As DSM is a trimmed-down Linux system, it lacks many of the tools and libraries commonly found on Linux. The basic tools like sh, cp, rm, etc. are implemented using -L<BusyBox|http://en.wikipedia.org/wiki/BusyBox>. +L<BusyBox|https://en.wikipedia.org/wiki/BusyBox>. =over 4 @@ -59,7 +59,7 @@ If you want to smoke test Perl, install C<Perl>. In Settings, add the following Package Sources: - http://www.cphub.net + https://www.cphub.net http://packages.quadrat4.de =item * @@ -139,7 +139,7 @@ L<Install Entware-ng on Synology NAS|https://github.com/Entware-ng/Entware-ng/wi That sadly does not (yet) work on QorIQ. At the moment of writing, the supported architectures are armv5, armv7, mipsel, wl500g, x86_32, and x86_64. -Check L<here|http://pkg.entware.net/binaries/> for supported platforms. +Check L<here|https://pkg.entware.net/binaries/> for supported platforms. Entware-ng comes with a precompiled 5.24.1 (June 2017) that allowes building shared XS code. Note that this installation does B<not> use diff --git a/README.win32 b/README.win32 index 9e87709866..e182101465 100644 --- a/README.win32 +++ b/README.win32 @@ -74,7 +74,7 @@ This port can also be built on IA64/AMD64 using: Microsoft Platform SDK Nov 2001 (64-bit compiler and tools) MinGW64 compiler (gcc version 4.4.3 or later) -The Windows SDK can be downloaded from L<http://www.microsoft.com/>. +The Windows SDK can be downloaded from L<https://developer.microsoft.com/windows/downloads/sdk-archive>. The MinGW64 compiler is available at L<http://mingw-w64.org>. The latter is actually a cross-compiler targeting Win64. There's also a trimmed down compiler (no java, or gfortran) suitable for building perl available at: @@ -109,7 +109,7 @@ polling loop. A port of dmake for Windows is available from: -L<http://search.cpan.org/dist/dmake/> +L<https://search.cpan.org/dist/dmake/> Fetch and install dmake somewhere on your path. @@ -148,7 +148,7 @@ everything necessary to build Perl, rather than requiring a separate download of the Windows SDK like previous versions did. These packages can be downloaded by searching in the Download Center at -L<http://www.microsoft.com/downloads/search.aspx?displaylang=en>. (Providing exact +L<https://www.microsoft.com/downloads/search.aspx?displaylang=en>. (Providing exact links to these packages has proven a pointless task because the links keep on changing so often.) @@ -220,7 +220,7 @@ Framework Redistributable" to be installed first. This can be downloaded and installed separately, but is included in the "Visual C++ Toolkit 2003" anyway. These packages can all be downloaded by searching in the Download Center at -L<http://www.microsoft.com/downloads/search.aspx?displaylang=en>. (Providing exact +L<https://www.microsoft.com/downloads/search.aspx?displaylang=en>. (Providing exact links to these packages has proven a pointless task because the links keep on changing so often.) @@ -449,7 +449,7 @@ in the May 2019 Update, as explained here: L<https://developercommunity.visualst If you build with certain versions (e.g. 4.8.1) of gcc from www.mingw.org then F<ext/POSIX/t/time.t> may fail test 17 due to a known bug in those gcc builds: -see L<http://sourceforge.net/p/mingw/bugs/2152/>. +see L<https://sourceforge.net/p/mingw/bugs/2152/>. Some test failures may occur if you use a command shell other than the native "cmd.exe", or if you are building from a path that contains @@ -566,9 +566,9 @@ character is the double quote ("). It can be used to protect spaces and other special characters in arguments. The Windows documentation describes the shell parsing rules here: -L<http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/cmd.mspx?mfr=true> +L<https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmd> and the C runtime parsing rules here: -L<http://msdn.microsoft.com/en-us/library/17w5ykft%28v=VS.100%29.aspx>. +L<https://msdn.microsoft.com/en-us/library/17w5ykft%28v=VS.100%29.aspx>. Here are some further observations based on experiments: The C runtime breaks arguments at spaces and passes them to programs in argc/argv. @@ -637,11 +637,11 @@ quoted. The Comprehensive Perl Archive Network (CPAN) offers a wealth of extensions, some of which require a C compiler to build. -Look in L<http://www.cpan.org/> for more information on CPAN. +Look in L<https://www.cpan.org/> for more information on CPAN. Note that not all of the extensions available from CPAN may work in the Windows environment; you should check the information at -L<http://www.cpantesters.org/> before investing too much effort into +L<https://www.cpantesters.org/> before investing too much effort into porting modules that don't readily build. Most extensions (whether they require a C compiler or not) can @@ -667,7 +667,7 @@ L<http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/nmake15.exe> Another option is to use the make written in Perl, available from CPAN. -L<http://www.cpan.org/modules/by-module/Make/> +L<https://www.cpan.org/modules/by-module/Make/> You may also use dmake or gmake. See L</"Make"> above on how to get it. diff --git a/TestInit.pm b/TestInit.pm index bab5aea512..7f53664e27 100644 --- a/TestInit.pm +++ b/TestInit.pm @@ -43,7 +43,8 @@ $VERSION = 1.04; # which live dual lives on CPAN. # Don't interfere with the taintedness of %ENV, this could perturbate tests. # This feels like a better solution than the original, from -# http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-07/msg00154.html +# Message-ID: 20030703145818.5bdd2873.rgarciasua...@free.fr +# https://www.nntp.perl.org/group/perl.perl5.porters/2003/07/msg77533.html $ENV{PERL_CORE} = $^X; $0 =~ s/\.dp$//; # for the test.deparse make target diff --git a/configpm b/configpm index 88f0150949..2df2c7b727 100755 --- a/configpm +++ b/configpm @@ -150,7 +150,7 @@ $config_txt .= sprintf << 'EOT', $], $export_funcs; # for a description of the variables, please have a look at the # Glossary file, as written in the Porting folder, or use the url: -# http://perl5.git.perl.org/perl.git/blob/HEAD:/Porting/Glossary +# https://perl5.git.perl.org/perl.git/blob/HEAD:/Porting/Glossary package Config; use strict; @@ -896,7 +896,7 @@ named variable exists. For a description of the variables, please have a look at the Glossary file, as written in the Porting folder, or use the url: -http://perl5.git.perl.org/perl.git/blob/HEAD:/Porting/Glossary +https://perl5.git.perl.org/perl.git/blob/HEAD:/Porting/Glossary =over 4 diff --git a/cop.h b/cop.h index f9bf85222d..656724ccfa 100644 --- a/cop.h +++ b/cop.h @@ -76,35 +76,36 @@ typedef struct jmpenv JMPENV; /* * PERL_FLEXIBLE_EXCEPTIONS - * + * * All the flexible exceptions code has been removed. * See the following threads for details: * - * http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2004-07/msg00378.html - * + * Message-Id: 20040713143217.gb1...@plum.flirble.org + * https://www.nntp.perl.org/group/perl.perl5.porters/2004/07/msg93041.html + * * Joshua's original patches (which weren't applied) and discussion: - * + * * http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1998-02/msg01396.html * http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1998-02/msg01489.html * http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1998-02/msg01491.html * http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1998-02/msg01608.html * http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1998-02/msg02144.html * http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1998-02/msg02998.html - * + * * Chip's reworked patch and discussion: - * + * * http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1999-03/msg00520.html - * + * * The flaw in these patches (which went unnoticed at the time) was * that they moved some code that could potentially die() out of the * region protected by the setjmp()s. This caused exceptions within * END blocks and such to not be handled by the correct setjmp(). - * + * * The original patches that introduces flexible exceptions were: * - * http://perl5.git.perl.org/perl.git/commit/312caa8e97f1c7ee342a9895c2f0e749625b4929 - * http://perl5.git.perl.org/perl.git/commit/14dd3ad8c9bf82cf09798a22cc89a9862dfd6d1a - * + * https://perl5.git.perl.org/perl.git/commit/312caa8e97f1c7ee342a9895c2f0e749625b4929 + * https://perl5.git.perl.org/perl.git/commit/14dd3ad8c9bf82cf09798a22cc89a9862dfd6d1a + * */ #define dJMPENV JMPENV cur_env @@ -418,7 +419,7 @@ struct cop { # define CopFILE(c) ((c)->cop_file) # define CopFILEGV(c) (CopFILE(c) \ ? gv_fetchfile(CopFILE(c)) : NULL) - + # ifdef NETWARE # define CopFILE_set(c,pv) ((c)->cop_file = savepv(pv)) # define CopFILE_setn(c,pv,l) ((c)->cop_file = savepvn((pv),(l))) @@ -938,7 +939,7 @@ struct context { #define CXINC (cxstack_ix < cxstack_max ? ++cxstack_ix : (cxstack_ix = cxinc())) -/* +/* =head1 "Gimme" Values */ diff --git a/cygwin/cygwin.c b/cygwin/cygwin.c index 6b11efed7f..b79af68e58 100644 --- a/cygwin/cygwin.c +++ b/cygwin/cygwin.c @@ -219,7 +219,7 @@ XS(Cygwin_cwd) dXSARGS; char *cwd; - /* See http://rt.perl.org/rt3/Ticket/Display.html?id=38628 + /* See https://rt.perl.org/rt3/Ticket/Display.html?id=38628 There is Cwd->cwd() usage in the wild, and previous versions didn't die. */ if(items > 1) diff --git a/dist/Devel-PPPort/Changes b/dist/Devel-PPPort/Changes index ce9add54ea..f01d8c7a5b 100644 --- a/dist/Devel-PPPort/Changes +++ b/dist/Devel-PPPort/Changes @@ -1,5 +1,32 @@ Revision history for Devel-PPPort + 3.54 - 2019-09-27 + + * Fix Unix-format path in Devel::PPPort's Makefile.PL + * Fix utf8_to_uvchr_buf for 5.7.0 + * Add hint for utf8_to_uvchr() + * Fix hints for is_ascii_string + * Use numeric comparisons with $] + * Fix 'for loops' to work on early perls + * Can't use GCC brace groups before 5.4 + * Add script to regenerate ppport.fnc + * Suppress useless warning + * Fix mktests.PL for Perl 5.8.0 + * Implement sv_len_utf8_nomg() and sv_len_utf8() + * Fix eval_pv for Perl versions prior to 5.31.2 + * Consolidate UTF-8 functions/macros into new file + * Implement sv_mortalcopy_flags() + * Implement newSVsv_flags() + * Enable Perl compile-time warnings at all place + * Improve Makefile.PL + * Add tests for IVdf, UVuf, IV_MAX and UV_MAX + + 3.53 - 2019-09-27 + + * Rename PPPort_xs.PL to RealPPPort_xs.PL + * Fix compilation issues with version older than 5.010 + * Fix compilation issues with version older than 5.010 + 3.52 - 2019-05-14 * fix utf8_to_uvchr_buf retval in 5.30 diff --git a/dist/Devel-PPPort/Makefile.PL b/dist/Devel-PPPort/Makefile.PL index 66c470304e..cd0c49325e 100644 --- a/dist/Devel-PPPort/Makefile.PL +++ b/dist/Devel-PPPort/Makefile.PL @@ -71,7 +71,7 @@ sub configure my $version; my $line; while ($line = <FH>) { - ($version) = $line =~ /^\$VERSION = '([\d.]+)';$/ and last; + ($version) = $line =~ /^\$VERSION = '([\d.]+(_\d+)?)';$/ and last; }; die 'failed to extract $VERSION from PPPort_pm.PL' if not $version; close FH; @@ -86,12 +86,12 @@ sub configure }, resources => { bugtracker => { - web => 'https://rt.perl.org/rt3/', + web => 'https://github.com/Dual-Life/Devel-PPPort/issues', }, repository => { type => 'git', - url => 'git://perl5.git.perl.org/perl.git', - web => 'https://perl5.git.perl.org/perl.git', + url => 'git://github.com/Dual-Life/Devel-PPPort.git', + web => 'https://github.com/Dual-Life/Devel-PPPort', }, }, }; diff --git a/dist/Devel-PPPort/PPPort_pm.PL b/dist/Devel-PPPort/PPPort_pm.PL index 4b495c9305..a93d2e5de1 100644 --- a/dist/Devel-PPPort/PPPort_pm.PL +++ b/dist/Devel-PPPort/PPPort_pm.PL @@ -106,7 +106,7 @@ my @todo_list = reverse sort keys %todo; # directories are empty (which should only happen during regeneration of the # base and todo files).). Actually the final element is for blead (at the # time things were regenerated), which is 1 beyond the max version supported. -my $INT_MAX_PERL = (@todo_list) ? $todo_list[0] - 1 : '5030000'; +my $INT_MAX_PERL = (@todo_list) ? $todo_list[0] - 1 : '5030000'; # used for __MAX_PERL__ my $MAX_PERL = format_version($INT_MAX_PERL); my $INT_MIN_PERL = (@todo_list) ? $todo_list[-1] : 5003007; my $MIN_PERL = format_version($INT_MIN_PERL); diff --git a/dist/Devel-PPPort/parts/inc/Sv_set b/dist/Devel-PPPort/parts/inc/Sv_set index 97533a642b..2e2b0d5b8b 100644 --- a/dist/Devel-PPPort/parts/inc/Sv_set +++ b/dist/Devel-PPPort/parts/inc/Sv_set @@ -25,15 +25,15 @@ sv_setsv_flags #if ( { VERSION >= 5.7.3 } && { VERSION < 5.8.7 } ) || ( { VERSION >= 5.9.0 } && { VERSION < 5.9.2 } ) #undef sv_setsv_flags #define SV_NOSTEAL 16 -#define sv_setsv_flags(dstr, sstr, flags) \ - STMT_START { \ - if (((flags) & SV_NOSTEAL) && (SvFLAGS((sstr)) & SVs_TEMP)) { \ - SvTEMP_off((sstr)); \ - Perl_sv_setsv_flags(aTHX_ (dstr), (sstr), (flags) & ~SV_NOSTEAL); \ - SvTEMP_on((sstr)); \ - } else { \ - Perl_sv_setsv_flags(aTHX_ (dstr), (sstr), (flags) & ~SV_NOSTEAL); \ - } \ +#define sv_setsv_flags(dstr, sstr, flags) \ + STMT_START { \ + if (((flags) & SV_NOSTEAL) && (sstr) && (SvFLAGS((SV *)(sstr)) & SVs_TEMP)) { \ + SvTEMP_off((SV *)(sstr)); \ + Perl_sv_setsv_flags(aTHX_ (dstr), (sstr), (flags) & ~SV_NOSTEAL); \ + SvTEMP_on((SV *)(sstr)); \ + } else { \ + Perl_sv_setsv_flags(aTHX_ (dstr), (sstr), (flags) & ~SV_NOSTEAL); \ + } \ } STMT_END #endif @@ -160,6 +160,18 @@ newSVsv_nomg(sv) #endif +void +sv_setsv_compile_test(sv) + SV *sv + CODE: + sv_setsv(sv, NULL); +#ifdef sv_setsv_flags + sv_setsv_flags(sv, NULL, 0); +#ifdef SV_NOSTEAL + sv_setsv_flags(sv, NULL, SV_NOSTEAL); +#endif +#endif + =tests plan => 15 my $foo = 5; diff --git a/dist/Devel-PPPort/parts/inc/misc b/dist/Devel-PPPort/parts/inc/misc index 89b6dc9751..1743e5d6b3 100644 --- a/dist/Devel-PPPort/parts/inc/misc +++ b/dist/Devel-PPPort/parts/inc/misc @@ -403,7 +403,6 @@ __UNDEFINED__ isCNTRL(c) ( (c) == '\0' || (c) == '\a' || (c) == '\b' /* The controls are everything below blank, plus one outlier */ __UNDEFINED__ isCNTRL_L1(c) ((WIDEST_UTYPE) (c) < ' ' \ || (WIDEST_UTYPE) (c) == D_PPP_OUTLIER_CONTROL) - ) /* The ordering of the tests in this and isUPPER are to exclude most characters * early */ __UNDEFINED__ isLOWER(c) ( (c) >= 'a' && (c) <= 'z' \ diff --git a/dist/Devel-PPPort/parts/inc/utf8 b/dist/Devel-PPPort/parts/inc/utf8 index 8a7271d8d5..0e91c07e40 100644 --- a/dist/Devel-PPPort/parts/inc/utf8 +++ b/dist/Devel-PPPort/parts/inc/utf8 @@ -306,7 +306,12 @@ utf8_to_uvchr_buf(pTHX_ const U8 *s, const U8 *send, STRLEN *retlen) *retlen = D_PPP_MIN(*retlen, curlen); *retlen = D_PPP_MIN(*retlen, UTF8SKIP(s)); do { - if (s[i] < 0x80 || s[i] > 0xBF) { +# ifdef UTF8_IS_CONTINUATION + if (! UTF8_IS_CONTINUATION(s[i])) +# else /* Versions without the above don't support EBCDIC anyway */ + if (s[i] < 0x80 || s[i] > 0xBF) +# endif + { *retlen = i; break; } diff --git a/dist/Dumpvalue/lib/Dumpvalue.pm b/dist/Dumpvalue/lib/Dumpvalue.pm index ff9efe1ec6..0bec4cb3e9 100644 --- a/dist/Dumpvalue/lib/Dumpvalue.pm +++ b/dist/Dumpvalue/lib/Dumpvalue.pm @@ -422,7 +422,6 @@ sub dumpvars { my $self = shift; my ($package,@vars) = @_; local(%address,$^W); - my ($key,$val); $package .= "::" unless $package =~ /::$/; *stab = *main::; @@ -432,7 +431,8 @@ sub dumpvars { $self->{TotalStrings} = 0; $self->{Strings} = 0; $self->{CompleteTotal} = 0; - while (($key,$val) = each(%stab)) { + for my $k (keys %stab) { + my ($key,$val) = ($k, $stab{$k}); return if $DB::signal and $self->{stopDbSignal}; next if @vars && !grep( matchvar($key, $_), @vars ); if ($self->{usageOnly}) { diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm index 9fdb41ca77..09677a5c18 100644 --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm @@ -7,7 +7,7 @@ use Perl::OSType qw/os_type/; use warnings; use strict; -our $VERSION = '0.280232'; # VERSION +our $VERSION = '0.280233'; # VERSION our @ISA; # We only use this once - don't waste a symbol table entry on it. @@ -272,9 +272,9 @@ for VMS. ExtUtils::CBuilder is maintained as part of the Perl 5 core. Please submit any bug reports via the F<perlbug> tool included with Perl 5. Bug reports will be included in the Perl 5 ticket system at -L<http://rt.perl.org>. +L<https://rt.perl.org>. -The Perl 5 source code is available at L<http://perl5.git.perl.org/perl.git> +The Perl 5 source code is available at L<https://perl5.git.perl.org/perl.git> and ExtUtils-CBuilder may be found in the F<dist/ExtUtils-CBuilder> directory of the repository. diff --git a/dist/Locale-Maketext/ChangeLog b/dist/Locale-Maketext/ChangeLog index ac25aa6a8e..caa405a0da 100644 --- a/dist/Locale-Maketext/ChangeLog +++ b/dist/Locale-Maketext/ChangeLog @@ -155,7 +155,7 @@ Revision history for Perl suite Locale::Maketext * Release 1.11_01 Fixed perlbug #33938 - http://rt.perl.org/rt3//Public/Bug/Display.html?id=3393 + https://rt.perl.org/rt3//Public/Bug/Display.html?id=3393 Started cleaning up source per Perl::Critic. diff --git a/dist/Safe/Safe.pm b/dist/Safe/Safe.pm index e9f096713d..3f4cb21065 100644 --- a/dist/Safe/Safe.pm +++ b/dist/Safe/Safe.pm @@ -3,7 +3,7 @@ package Safe; use 5.003_11; use Scalar::Util qw(reftype refaddr); -$Safe::VERSION = "2.40"; +$Safe::VERSION = "2.41"; # *** Don't declare any lexicals above this point *** # @@ -753,7 +753,7 @@ any I<further> compilation that the already compiled code may try to perform. This is particularly useful when applied to code references returned from reval(). (It also provides a kind of workaround for RT#60374: "Safe.pm sort {} bug with --Dusethreads". See L<http://rt.perl.org/rt3//Public/Bug/Display.html?id=60374> +-Dusethreads". See L<https://rt.perl.org/rt3//Public/Bug/Display.html?id=60374> for I<much> more detail.) =head2 wrap_code_refs_within (...) diff --git a/dist/Storable/Makefile.PL b/dist/Storable/Makefile.PL index cdcc3e0087..dcd058c9d8 100644 --- a/dist/Storable/Makefile.PL +++ b/dist/Storable/Makefile.PL @@ -24,7 +24,7 @@ WriteMakefile( ABSTRACT_FROM => 'Storable.pm', ($ExtUtils::MakeMaker::VERSION > 6.45 ? (META_MERGE => { resources => - { bugtracker => 'http://rt.perl.org/perlbug/' }, + { bugtracker => 'https://rt.perl.org/perlbug/' }, provides => { 'Storable' => { file => 'Storable.pm', diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t index 1dd95e3959..ccdeb0eaaf 100644 --- a/dist/threads-shared/t/stress.t +++ b/dist/threads-shared/t/stress.t @@ -12,7 +12,7 @@ BEGIN { exit(0); } - # http://lists.alioth.debian.org/pipermail/perl-maintainers/2011-June/002285.html + # https://lists.alioth.debian.org/pipermail/perl-maintainers/2011-June/002285.html # There _is_ TLS support on m68k, but this stress test is overwhelming # for the hardware if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) { @@ -179,7 +179,7 @@ use threads::shared; } elsif ($timeouts) { # Frequently fails under MSWin32 due to deadlocking bug in Windows # hence test is TODO under MSWin32 - # http://rt.perl.org/rt3/Public/Bug/Display.html?id=41574 + # https://rt.perl.org/rt3/Public/Bug/Display.html?id=41574 # http://support.microsoft.com/kb/175332 if ($^O eq 'MSWin32') { print("not ok 1 # TODO - not reliable under MSWin32\n") diff --git a/dist/threads/lib/threads.pm b/dist/threads/lib/threads.pm index 1b99567ef2..3df4b44e30 100644 --- a/dist/threads/lib/threads.pm +++ b/dist/threads/lib/threads.pm @@ -5,7 +5,7 @@ use 5.008; use strict; use warnings; -our $VERSION = '2.22'; # remember to update version in POD! +our $VERSION = '2.23'; # remember to update version in POD! my $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -134,7 +134,7 @@ threads - Perl interpreter-based threads =head1 VERSION -This document describes threads version 2.21 +This document describes threads version 2.23 =head1 WARNING @@ -914,7 +914,7 @@ C<-E<gt>import()>) after any threads are started, and in such a way that no other threads are started afterwards. If the above does not work, or is not adequate for your application, then file -a bug report on L<http://rt.cpan.org/Public/> against the problematic module. +a bug report on L<https://rt.cpan.org/Public/> against the problematic module. =item Memory consumption @@ -1090,7 +1090,7 @@ determine whether your system supports it. In prior perl versions, spawning threads with open directory handles would crash the interpreter. -L<[perl #75154]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=75154> +L<[perl #75154]|https://rt.perl.org/rt3/Public/Bug/Display.html?id=75154> =item Detached threads and global destruction @@ -1118,8 +1118,8 @@ unreferenced scalars. However, such warnings are harmless, and may safely be ignored. You can search for L<threads> related bug reports at -L<http://rt.cpan.org/Public/>. If needed submit any new bugs, problems, -patches, etc. to: L<http://rt.cpan.org/Public/Dist/Display.html?Name=threads> +L<https://rt.cpan.org/Public/>. If needed submit any new bugs, problems, +patches, etc. to: L<https://rt.cpan.org/Public/Dist/Display.html?Name=threads> =back @@ -1137,14 +1137,14 @@ L<https://github.com/Dual-Life/threads> L<threads::shared>, L<perlthrtut> -L<http://www.perl.com/pub/a/2002/06/11/threads.html> and -L<http://www.perl.com/pub/a/2002/09/04/threads.html> +L<https://www.perl.com/pub/a/2002/06/11/threads.html> and +L<https://www.perl.com/pub/a/2002/09/04/threads.html> Perl threads mailing list: -L<http://lists.perl.org/list/ithreads.html> +L<https://lists.perl.org/list/ithreads.html> Stack size discussion: -L<http://www.perlmonks.org/?node_id=532956> +L<https://www.perlmonks.org/?node_id=532956> Sample code in the I<examples> directory of this distribution on CPAN. diff --git a/ebcdic_tables.h b/ebcdic_tables.h index 4036114cb1..4e9c281d90 100644 --- a/ebcdic_tables.h +++ b/ebcdic_tables.h @@ -12,7 +12,7 @@ * More info is in utfebcdic.h * * Some of the tables are adapted from - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ * which requires this copyright notice: Copyright (c) 2008-2009 Bjoern Hoehrmann <bjo...@hoehrmann.de> @@ -288,7 +288,7 @@ SOFTWARE. /* The table below is adapted from - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ * See copyright notice at the beginning of this file. */ @@ -329,7 +329,7 @@ SOFTWARE. /* The table below is adapted from - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ * See copyright notice at the beginning of this file. */ @@ -375,7 +375,7 @@ SOFTWARE. /* The table below is adapted from - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ * See copyright notice at the beginning of this file. */ @@ -665,7 +665,7 @@ SOFTWARE. /* The table below is adapted from - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ * See copyright notice at the beginning of this file. */ @@ -706,7 +706,7 @@ SOFTWARE. /* The table below is adapted from - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ * See copyright notice at the beginning of this file. */ @@ -752,7 +752,7 @@ SOFTWARE. /* The table below is adapted from - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ * See copyright notice at the beginning of this file. */ diff --git a/handy.h b/handy.h index 180aeca306..ee349432a3 100644 --- a/handy.h +++ b/handy.h @@ -1278,7 +1278,6 @@ or casts * needed. */ #define inRANGE(c, l, u) (__ASSERT_((u) >= (l)) \ ( (sizeof(c) == sizeof(U8)) ? withinCOUNT(((U8) (c)), (l), ((u) - (l))) \ - : (sizeof(c) == sizeof(U16)) ? withinCOUNT(((U16) (c)), (l), ((u) - (l))) \ : (sizeof(c) == sizeof(U32)) ? withinCOUNT(((U32) (c)), (l), ((u) - (l))) \ : (__ASSERT_(sizeof(c) == sizeof(WIDEST_UTYPE)) \ withinCOUNT(((WIDEST_UTYPE) (c)), (l), ((u) - (l)))))) @@ -2090,7 +2089,7 @@ _generic_utf8_safe(classnum, p, e, _is_utf8_FOO_with_len(classnum, p, e)) /* To prevent S_scan_word in toke.c from hanging, we have to make sure that * IDFIRST is an alnum. See - * http://rt.perl.org/rt3/Ticket/Display.html?id=74022 for more detail than you + * https://rt.perl.org/rt3/Ticket/Display.html?id=74022 for more detail than you * ever wanted to know about. (In the ASCII range, there isn't a difference.) * This used to be not the XID version, but we decided to go with the more * modern Unicode definition */ diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index f0b772631f..49f7c347ba 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -263,7 +263,7 @@ toke_cflags='optimize=-O2' esac # The patch 23787 -# http://perl5.git.perl.org/perl.git/commit/73cb726371990cd489597c4fee405a9815abf4da +# https://perl5.git.perl.org/perl.git/commit/73cb726371990cd489597c4fee405a9815abf4da # broke things for gcc (at least gcc 3.3) so that many of the pack() # checksum tests for formats L, j, J, especially when combined # with the < and > specifiers, started to fail if compiled with plain -O3. diff --git a/inline.h b/inline.h index f52d4e5620..9ecdb80988 100644 --- a/inline.h +++ b/inline.h @@ -6,7 +6,7 @@ * License or the Artistic License, as specified in the README file. * * This file contains tables and code adapted from - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which requires this + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which requires this * copyright notice: Copyright (c) 2008-2009 Bjoern Hoehrmann <bjo...@hoehrmann.de> @@ -1060,7 +1060,7 @@ machines) is a valid UTF-8 character. =cut This uses an adaptation of the table and algorithm given in -http://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which provides comprehensive +https://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which provides comprehensive documentation of the original version. A copyright notice for the original version is given at the beginning of this file. The Perl adapation is documented at the definition of PL_extended_utf8_dfa_tab[]. @@ -1134,7 +1134,7 @@ C<L</is_strict_utf8_string_loclen>> to check entire strings. =cut This uses an adaptation of the tables and algorithm given in -http://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which provides comprehensive +https://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which provides comprehensive documentation of the original version. A copyright notice for the original version is given at the beginning of this file. The Perl adapation is documented at the definition of strict_extended_utf8_dfa_tab[]. @@ -1200,7 +1200,7 @@ C<L</is_c9strict_utf8_string_loclen>> to check entire strings. =cut This uses an adaptation of the tables and algorithm given in -http://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which provides comprehensive +https://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which provides comprehensive documentation of the original version. A copyright notice for the original version is given at the beginning of this file. The Perl adapation is documented at the definition of PL_c9_utf8_dfa_tab[]. @@ -1619,7 +1619,7 @@ Perl_utf8_hop_back(const U8 *s, SSize_t off, const U8 *start) s--; } while (UTF8_IS_CONTINUATION(*s) && s > start); } - + GCC_DIAG_IGNORE(-Wcast-qual) return (U8 *)s; GCC_DIAG_RESTORE @@ -1812,7 +1812,7 @@ Perl_utf8n_to_uvchr_msgs(const U8 *s, * will need to be called. * * This is an adaptation of the tables and algorithm given in - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which provides + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which provides * comprehensive documentation of the original version. A copyright notice * for the original version is given at the beginning of this file. The * Perl adapation is documented at the definition of PL_strict_utf8_dfa_tab[]. diff --git a/perl.h b/perl.h index 05dbe0e785..13ab20a43f 100644 --- a/perl.h +++ b/perl.h @@ -5631,7 +5631,7 @@ EXTCONST bool PL_valid_types_NV_set[]; #ifndef EBCDIC /* The tables below are adapted from - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which requires this copyright + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/, which requires this copyright * notice: Copyright (c) 2008-2009 Bjoern Hoehrmann <bjo...@hoehrmann.de> @@ -5658,7 +5658,7 @@ SOFTWARE. # ifdef DOINIT # if 0 /* This is the original table given in - http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ */ + https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ */ static U8 utf8d_C9[] = { /* The first part of the table maps bytes to character classes that * to reduce the size of the transition table and create bitmasks. */ @@ -5800,7 +5800,7 @@ EXTCONST U8 PL_extended_utf8_dfa_tab[] = { * that can be returned immediately. * * The "Implementation details" portion of - * http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ shows how + * https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ shows how * the first portion of the table maps each possible byte into a character * class. And that the classes for those bytes which are start bytes have been * carefully chosen so they serve as well to be used as a shift value to mask @@ -5949,7 +5949,7 @@ EXTCONST U8 PL_strict_utf8_dfa_tab[] = { /* And below is yet another version of the above tables that accepts only UTF-8 * as defined by Corregidum #9. Hence no surrogates nor non-Unicode, but * it allows non-characters. This is isomorphic to the original table - * in http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ + * in https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ * * The classes are * 00-7F 0 @@ -7117,7 +7117,7 @@ extern void moncontrol(int); #endif /* ISO 6429 NEL - C1 control NExt Line */ -/* See http://www.unicode.org/unicode/reports/tr13/ */ +/* See https://www.unicode.org/unicode/reports/tr13/ */ #define NEXT_LINE_CHAR NEXT_LINE_NATIVE #ifndef PIPESOCK_MODE diff --git a/pod/perl.pod b/pod/perl.pod index fba112f282..1bbd73460d 100644 --- a/pod/perl.pod +++ b/pod/perl.pod @@ -21,7 +21,7 @@ For more information on these options, you can run C<perldoc perlrun>. The F<perldoc> program gives you access to all the documentation that comes with Perl. You can get more documentation, tutorials and community support -online at L<http://www.perl.org/>. +online at L<https://www.perl.org/>. If you're new to Perl, you should start by running C<perldoc perlintro>, which is a general intro for beginners and provides some background to help diff --git a/pod/perlbook.pod b/pod/perlbook.pod index e03a1d3241..ffed87c87a 100644 --- a/pod/perlbook.pod +++ b/pod/perlbook.pod @@ -7,7 +7,7 @@ perlbook - Books about and related to Perl There are many books on Perl and Perl-related. A few of these are good, some are OK, but many aren't worth your money. There is a list of these books, some with extensive reviews, at -L<http://books.perl.org/> . We list some of the books here, and while +L<https://www.perl.org/books/library.html> . We list some of the books here, and while listing a book implies our endorsement, don't think that not including a book means anything. @@ -26,7 +26,7 @@ I<Programming Perl>: by Tom Christiansen, brian d foy, Larry Wall with Jon Orwant ISBN 978-0-596-00492-7 [4th edition February 2012] ISBN 978-1-4493-9890-3 [ebook] - http://oreilly.com/catalog/9780596004927 + https://oreilly.com/catalog/9780596004927 =back @@ -41,7 +41,7 @@ accomplish specific tasks: with Foreword by Larry Wall ISBN 978-0-596-00313-5 [2nd Edition August 2003] ISBN 978-0-596-15888-0 [ebook] - http://oreilly.com/catalog/9780596003135/ + https://oreilly.com/catalog/9780596003135/ =back @@ -56,7 +56,7 @@ programming: by Randal L. Schwartz, Tom Phoenix, and brian d foy ISBN 978-1-4493-0358-7 [6th edition June 2011] ISBN 978-1-4493-0458-4 [ebook] - http://www.learning-perl.com/ + https://www.learning-perl.com/ =back @@ -72,7 +72,7 @@ object-oriented programming, and modules: foreword by Damian Conway ISBN 978-1-4493-9309-0 [2nd edition August 2012] ISBN 978-1-4493-0459-1 [ebook] - http://www.intermediateperl.com/ + https://www.intermediateperl.com/ =back @@ -87,21 +87,21 @@ You might want to keep these desktop references close by your keyboard: by Johan Vromans ISBN 978-1-4493-0370-9 [5th edition July 2011] ISBN 978-1-4493-0813-1 [ebook] - http://oreilly.com/catalog/0636920018476/ + https://oreilly.com/catalog/0636920018476/ =item I<Perl Debugger Pocket Reference> by Richard Foley ISBN 978-0-596-00503-0 [1st edition January 2004] ISBN 978-0-596-55625-9 [ebook] - http://oreilly.com/catalog/9780596005030/ + https://oreilly.com/catalog/9780596005030/ =item I<Regular Expression Pocket Reference> by Tony Stubblebine ISBN 978-0-596-51427-3 [2nd edition July 2007] ISBN 978-0-596-55782-9 [ebook] - http://oreilly.com/catalog/9780596514273/ + https://oreilly.com/catalog/9780596514273/ =back @@ -119,14 +119,14 @@ You might want to keep these desktop references close by your keyboard: by James Lee ISBN 1-59059-391-X [3rd edition April 2010 & ebook] - http://www.apress.com/9781430227939 + https://www.apress.com/9781430227939 =item I<Learning Perl> (the "Llama Book") by Randal L. Schwartz, Tom Phoenix, and brian d foy ISBN 978-1-4493-0358-7 [6th edition June 2011] ISBN 978-1-4493-0458-4 [ebook] - http://www.learning-perl.com/ + https://www.learning-perl.com/ =item I<Intermediate Perl> (the "Alpaca Book") @@ -134,20 +134,20 @@ You might want to keep these desktop references close by your keyboard: foreword by Damian Conway ISBN 978-1-4493-9309-0 [2nd edition August 2012] ISBN 978-1-4493-0459-1 [ebook] - http://www.intermediateperl.com/ + https://www.intermediateperl.com/ =item I<Mastering Perl> by brian d foy ISBN 9978-1-4493-9311-3 [2st edition January 2014] ISBN 978-1-4493-6487-8 [ebook] - http://www.masteringperl.org/ + https://www.masteringperl.org/ =item I<Effective Perl Programming> by Joseph N. Hall, Joshua A. McAdams, brian d foy ISBN 0-321-49694-9 [2nd edition 2010] - http://www.effectiveperlprogramming.com/ + https://www.effectiveperlprogramming.com/ =back @@ -159,7 +159,7 @@ You might want to keep these desktop references close by your keyboard: by Sam Tregar ISBN 1-59059-018-X [1st edition August 2002 & ebook] - http://www.apress.com/9781590590188 + https://www.apress.com/9781590590188 =item I<The Perl Cookbook> @@ -167,20 +167,20 @@ You might want to keep these desktop references close by your keyboard: with Foreword by Larry Wall ISBN 978-0-596-00313-5 [2nd Edition August 2003] ISBN 978-0-596-15888-0 [ebook] - http://oreilly.com/catalog/9780596003135/ + https://oreilly.com/catalog/9780596003135/ =item I<Automating System Administration with Perl> by David N. Blank-Edelman ISBN 978-0-596-00639-6 [2nd edition May 2009] ISBN 978-0-596-80251-6 [ebook] - http://oreilly.com/catalog/9780596006396 + https://oreilly.com/catalog/9780596006396 =item I<Real World SQL Server Administration with Perl> by Linchi Shea ISBN 1-59059-097-X [1st edition July 2003 & ebook] - http://www.apress.com/9781590590973 + https://www.apress.com/9781590590973 =back @@ -193,80 +193,80 @@ You might want to keep these desktop references close by your keyboard: by Jan Goyvaerts and Steven Levithan ISBN 978-1-4493-1943-4 [2nd edition August 2012] ISBN 978-1-4493-2747-7 [ebook] - http://shop.oreilly.com/product/0636920023630.do + https://shop.oreilly.com/product/0636920023630.do =item I<Programming the Perl DBI> by Tim Bunce and Alligator Descartes ISBN 978-1-56592-699-8 [February 2000] ISBN 978-1-4493-8670-2 [ebook] - http://oreilly.com/catalog/9781565926998 + https://oreilly.com/catalog/9781565926998 =item I<Perl Best Practices> by Damian Conway ISBN 978-0-596-00173-5 [1st edition July 2005] ISBN 978-0-596-15900-9 [ebook] - http://oreilly.com/catalog/9780596001735 + https://oreilly.com/catalog/9780596001735 =item I<Higher-Order Perl> by Mark-Jason Dominus ISBN 1-55860-701-3 [1st edition March 2005] - free ebook http://hop.perl.plover.com/book/ - http://hop.perl.plover.com/ + free ebook https://hop.perl.plover.com/book/ + https://hop.perl.plover.com/ =item I<Mastering Regular Expressions> by Jeffrey E. F. Friedl ISBN 978-0-596-52812-6 [3rd edition August 2006] ISBN 978-0-596-55899-4 [ebook] - http://oreilly.com/catalog/9780596528126 + https://oreilly.com/catalog/9780596528126 =item I<Network Programming with Perl> by Lincoln Stein ISBN 0-201-61571-1 [1st edition 2001] - http://www.pearsonhighered.com/educator/product/Network-Programming-with-Perl/9780201615715.page + https://www.pearsonhighered.com/educator/product/Network-Programming-with-Perl/9780201615715.page =item I<Perl Template Toolkit> by Darren Chamberlain, Dave Cross, and Andy Wardley ISBN 978-0-596-00476-7 [December 2003] ISBN 978-1-4493-8647-4 [ebook] - http://oreilly.com/catalog/9780596004767 + https://oreilly.com/catalog/9780596004767 =item I<Object Oriented Perl> by Damian Conway with foreword by Randal L. Schwartz ISBN 1-884777-79-1 [1st edition August 1999 & ebook] - http://www.manning.com/conway/ + https://www.manning.com/conway/ =item I<Data Munging with Perl> by Dave Cross ISBN 1-930110-00-6 [1st edition 2001 & ebook] - http://www.manning.com/cross + https://www.manning.com/cross =item I<Mastering Perl/Tk> by Steve Lidie and Nancy Walsh ISBN 978-1-56592-716-2 [1st edition January 2002] ISBN 978-0-596-10344-6 [ebook] - http://oreilly.com/catalog/9781565927162 + https://oreilly.com/catalog/9781565927162 =item I<Extending and Embedding Perl> by Tim Jenness and Simon Cozens ISBN 1-930110-82-0 [1st edition August 2002 & ebook] - http://www.manning.com/jenness + https://www.manning.com/jenness =item I<Pro Perl Debugging> by Richard Foley with Andy Lester ISBN 1-59059-454-1 [1st edition July 2005 & ebook] - http://www.apress.com/9781590594544 + https://www.apress.com/9781590594544 =back @@ -274,7 +274,7 @@ You might want to keep these desktop references close by your keyboard: Some of these books are available as free downloads. -I<Higher-Order Perl>: L<http://hop.perl.plover.com/> +I<Higher-Order Perl>: L<https://hop.perl.plover.com/> I<Modern Perl>: L<http://onyxneon.com/books/modern_perl/> @@ -304,7 +304,7 @@ Each version of Perl comes with the documentation that was current at the time of release. This poses a problem for content such as book lists. There are probably very nice books published after this list was included in your Perl release, and you can check the latest -released version at L<http://perldoc.perl.org/perlbook.html> . +released version at L<https://perldoc.perl.org/perlbook.html> . Some of the books we've listed appear almost ancient in internet scale, but we've included those books because they still describe the diff --git a/pod/perlcheat.pod b/pod/perlcheat.pod index 99a8dfc547..73b4679a72 100644 --- a/pod/perlcheat.pod +++ b/pod/perlcheat.pod @@ -95,14 +95,14 @@ Juerd Waalboer <#####@juerd.nl>, with the help of many Perl Monks. =item * -L<http://perlmonks.org/?node_id=216602> - the original PM post +L<https://perlmonks.org/?node_id=216602> - the original PM post =item * -L<http://perlmonks.org/?node_id=238031> - Damian Conway's Perl 6 version +L<https://perlmonks.org/?node_id=238031> - Damian Conway's Perl 6 version =item * -L<http://juerd.nl/site.plp/perlcheat> - home of the Perl Cheat Sheet +L<https://juerd.nl/site.plp/perlcheat> - home of the Perl Cheat Sheet =back diff --git a/pod/perlcommunity.pod b/pod/perlcommunity.pod index 2827507694..51b7110abb 100644 --- a/pod/perlcommunity.pod +++ b/pod/perlcommunity.pod @@ -145,7 +145,7 @@ put on by O'Reilly, and Yet Another Perl Conference or YAPC (pronounced yap-see), which is localized into several regional YAPCs (North America, Europe, Asia) in a stunning grassroots display by the Perl community. For more information about either conference, check out their respective web pages: -OSCON L<http://conferences.oreillynet.com/>; YAPC L<http://www.yapc.org>. +OSCON L<https://www.oreilly.com/conferences/>; YAPC L<https://www.yapc.org>. A relatively new conference franchise with a large Perl portion is the Open Source Developers Conference or OSDC. First held in Australia it has diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 34c6b48054..f688a7ed56 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -184,6 +184,28 @@ section. Additionally, the following selected changes have been made: +=head3 URLs have been changed to https://, stale links updated + +=over 4 + +=item * + +Where applicable, the URLs in the documentation have been moved from +using the http:// protocol to https:// . This also affects the location +of the bug tracker at L<https://rt.perl.org>. + +=item * + +Some links to OS/2 libraries, Address Sanitizer and other system tools +had gone stale. These have been updated with working links. + +=item * + +Some links to old mails on perl5-porters had gone stale. These have been +updated with working links. + +=back + =head3 L<XXX> =over 4 @@ -441,7 +463,7 @@ XXX Generate this with: If you find what you think is a bug, you might check the perl bug database at L<https://rt.perl.org/>. There may also be information at -L<http://www.perl.org/>, the Perl Home Page. +L<https://www.perl.org/>, the Perl Home Page. If you believe you have an unreported bug, please run the L<perlbug> program included with your release. Be sure to trim your bug down to a tiny but diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 0144f99e49..83d0336095 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -5664,7 +5664,7 @@ variables (like PATH) from the user it isn't running under, and isn't in a location where the CGI server can't find it, basically, more or less. Please see the following for more information: - http://www.perl.org/CGI_MetaFAQ.html + https://www.perl.org/CGI_MetaFAQ.html http://www.htmlhelp.org/faq/cgifaq.html http://www.w3.org/Security/Faq/ diff --git a/pod/perldtrace.pod b/pod/perldtrace.pod index 2b603517f6..e0280d2973 100644 --- a/pod/perldtrace.pod +++ b/pod/perldtrace.pod @@ -214,7 +214,7 @@ L<http://dtrace.org/guide/preface.html> =item DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD -L<http://www.amazon.com/DTrace-Dynamic-Tracing-Solaris-FreeBSD/dp/0132091518/> +L<https://www.amazon.com/DTrace-Dynamic-Tracing-Solaris-FreeBSD/dp/0132091518/> =back diff --git a/pod/perlebcdic.pod b/pod/perlebcdic.pod index d2e2d4e8ae..19c23e8c5e 100644 --- a/pod/perlebcdic.pod +++ b/pod/perlebcdic.pod @@ -254,7 +254,7 @@ extensions are constructed to allow encoding of any code point that fits in a 64-bit word. UTF-EBCDIC is defined by -L<Unicode Technical Report #16|http://www.unicode.org/reports/tr16> +L<Unicode Technical Report #16|https://www.unicode.org/reports/tr16> (often referred to as just TR16). It is defined based on CCSID 1047, not allowing for the differences for other code pages. This allows for easy interchange of text between @@ -1877,9 +1877,9 @@ L<perllocale>, L<perlfunc>, L<perlunicode>, L<utf8>. L<http://anubis.dkuug.dk/i18n/charmaps> -L<http://www.unicode.org/> +L<https://www.unicode.org/> -L<http://www.unicode.org/unicode/reports/tr16/> +L<https://www.unicode.org/unicode/reports/tr16/> L<http://www.wps.com/projects/codes/> B<ASCII: American Standard Code for Information Infiltration> Tom Jennings, diff --git a/pod/perlembed.pod b/pod/perlembed.pod index d6391f7a26..88cb810cc7 100644 --- a/pod/perlembed.pod +++ b/pod/perlembed.pod @@ -161,7 +161,7 @@ you: If the B<ExtUtils::Embed> module isn't part of your Perl distribution, you can retrieve it from -L<http://www.perl.com/perl/CPAN/modules/by-module/ExtUtils/> +L<https://metacpan.org/pod/ExtUtils::Embed> (If this documentation came from your Perl distribution, then you're running 5.004 or better and you already have it.) diff --git a/pod/perlfilter.pod b/pod/perlfilter.pod index 6aa6e1a1bd..0744e29f8d 100644 --- a/pod/perlfilter.pod +++ b/pod/perlfilter.pod @@ -570,7 +570,7 @@ code chunks beginning with the division operator C</>. As a workaround you must use C<m/.../> or C<m?...?> for such patterns. Also, the presence of regexes specified with raw C<?...?> delimiters may cause mysterious errors. The workaround is to use C<m?...?> instead. See -L<http://search.cpan.org/perldoc?Switch#LIMITATIONS> +L<https://search.cpan.org/perldoc?Switch#LIMITATIONS> Currently the content of the C<__DATA__> block is not filtered. diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 37046b8e68..3b92f0a2e3 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2621,8 +2621,8 @@ L<Unicode::UCD/B<prop_invmap()>>. For further information on casefolding, refer to the Unicode Standard, specifically sections 3.13 C<Default Case Operations>, 4.2 C<Case-Normative>, and 5.18 C<Case Mappings>, -available at L<http://www.unicode.org/versions/latest/>, as well as the -Case Charts available at L<http://www.unicode.org/charts/case/>. +available at L<https://www.unicode.org/versions/latest/>, as well as the +Case Charts available at L<https://www.unicode.org/charts/case/>. If EXPR is omitted, uses L<C<$_>|perlvar/$_>. @@ -6037,7 +6037,7 @@ This protects against those locales where characters such as C<"|"> are considered to be word characters. Otherwise, Perl quotes non-ASCII characters using an adaptation from -Unicode (see L<http://www.unicode.org/reports/tr31/>). +Unicode (see L<https://www.unicode.org/reports/tr31/>). The only code points that are quoted are those that have any of the Unicode properties: Pattern_Syntax, Pattern_White_Space, White_Space, Default_Ignorable_Code_Point, or General_Category=Control. diff --git a/pod/perlgit.pod b/pod/perlgit.pod index 000d6ac0d4..65961c4459 100644 --- a/pod/perlgit.pod +++ b/pod/perlgit.pod @@ -29,7 +29,7 @@ This uses the git protocol (port 9418). If you cannot use the git protocol for firewall reasons, you can also clone via http, though this is much slower: - % git clone http://perl5.git.perl.org/perl.git perl + % git clone https://perl5.git.perl.org/perl.git perl =head1 WORKING WITH THE REPOSITORY @@ -341,12 +341,12 @@ patch will be destroyed. Someone may download your patch from RT, which will result in the subject (the first line of the commit message) being omitted. See L<RT #74192|https://rt.perl.org/Ticket/Display.html?id=74192> and -L<commit a4583001|http://perl5.git.perl.org/perl.git/commitdiff/a4583001> +L<commit a4583001|https://perl5.git.perl.org/perl.git/commitdiff/a4583001> for an example. Alternatively someone may apply your patch from RT after it arrived in their mailbox, by which time RT will have modified the inline content of the message. See L<RT #74532|https://rt.perl.org/Ticket/Display.html?id=74532> and -L<commit f9bcfeac|http://perl5.git.perl.org/perl.git/commitdiff/f9bcfeac> +L<commit f9bcfeac|https://perl5.git.perl.org/perl.git/commitdiff/f9bcfeac> for a bad example of this failure mode. =head2 A note on derived files @@ -928,7 +928,7 @@ general testing and development. Dromedary syncs the git tree from camel every few minutes, you should not push there. Both machines also have a full CPAN mirror in F</srv/CPAN>, please use this. To share files with the general public, dromedary serves your F<~/public_html/> as -C<L<http://users.perl5.git.perl.org/~yourlogin/>> +C<L<https://users.perl5.git.perl.org/~yourlogin/>> These hosts have fairly strict firewalls to the outside. Outgoing, only rsync, ssh and git are allowed. For http and ftp, you can use diff --git a/pod/perlhack.pod b/pod/perlhack.pod index 02624b06d8..e62f7b015a 100644 --- a/pod/perlhack.pod +++ b/pod/perlhack.pod @@ -120,7 +120,7 @@ command line tool. This tool will ensure that your bug report includes all the relevant system and configuration information. To browse existing Perl bugs and patches, you can use the web interface -at L<http://rt.perl.org/>. +at L<https://rt.perl.org/>. Please check the archive of the perl5-porters list (see below) and/or the bug tracking system before submitting a bug report. Often, you'll @@ -138,8 +138,8 @@ are also referred to as the "Perl 5 Porters", "p5p" or just the "porters". A searchable archive of the list is available at -L<http://markmail.org/search/?q=perl5-porters>. There is also an archive at -L<http://archive.develooper.com/perl5-port...@perl.org/>. +L<https://markmail.org/search/?q=perl5-porters>. There is also an archive at +L<https://archive.develooper.com/perl5-port...@perl.org/>. =head2 perl-changes mailing list @@ -177,14 +177,14 @@ directory. If you cannot use the git protocol for firewall reasons, you can also clone via http, though this is much slower: - % git clone http://perl5.git.perl.org/perl.git perl + % git clone https://perl5.git.perl.org/perl.git perl =head2 Read access via the web You may access the repository over the web. This allows you to browse the tree, see recent commits, subscribe to RSS feeds for the changes, search for particular commits and more. You may access it at -L<http://perl5.git.perl.org/perl.git>. A mirror of the repository is +L<https://perl5.git.perl.org/perl.git>. A mirror of the repository is found at L<https://github.com/Perl/perl5>. =head2 Read access via rsync @@ -761,7 +761,7 @@ L<Test::More>, but avoids loading most modules and uses as few core features as possible. If you write your own test, use the L<Test Anything -Protocol|http://testanything.org>. +Protocol|https://testanything.org>. =over 4 @@ -1144,7 +1144,7 @@ source, and we'll do that later on. Gisle Aas's "illustrated perlguts", also known as I<illguts>, has very helpful pictures: -L<http://search.cpan.org/dist/illguts/> +L<https://search.cpan.org/dist/illguts/> =item * L<perlxstut> and L<perlxs> @@ -1169,21 +1169,21 @@ wanting to go about Perl development. =head1 CPAN TESTERS AND PERL SMOKERS -The CPAN testers ( L<http://testers.cpan.org/> ) are a group of volunteers +The CPAN testers ( L<http://cpantesters.org/> ) are a group of volunteers who test CPAN modules on a variety of platforms. -Perl Smokers ( L<http://www.nntp.perl.org/group/perl.daily-build/> and -L<http://www.nntp.perl.org/group/perl.daily-build.reports/> ) +Perl Smokers ( L<https://www.nntp.perl.org/group/perl.daily-build/> and +L<https://www.nntp.perl.org/group/perl.daily-build.reports/> ) automatically test Perl source releases on platforms with various configurations. Both efforts welcome volunteers. In order to get involved in smoke testing of the perl itself visit -L<http://search.cpan.org/dist/Test-Smoke/>. In order to start smoke +L<https://search.cpan.org/dist/Test-Smoke/>. In order to start smoke testing CPAN modules visit -L<http://search.cpan.org/dist/CPANPLUS-YACSmoke/> or -L<http://search.cpan.org/dist/minismokebox/> or -L<http://search.cpan.org/dist/CPAN-Reporter/>. +L<https://search.cpan.org/dist/CPANPLUS-YACSmoke/> or +L<https://search.cpan.org/dist/minismokebox/> or +L<https://search.cpan.org/dist/CPAN-Reporter/>. =head1 WHAT NEXT? diff --git a/pod/perlhacktips.pod b/pod/perlhacktips.pod index d5c34dd5c1..6f167dda89 100644 --- a/pod/perlhacktips.pod +++ b/pod/perlhacktips.pod @@ -1276,7 +1276,7 @@ contains C<-shared> (at least on Linux). =back See also -L<http://code.google.com/p/address-sanitizer/wiki/AddressSanitizer>. +L<https://github.com/google/sanitizers/wiki/AddressSanitizer>. =head1 PROFILING diff --git a/pod/perllocale.pod b/pod/perllocale.pod index 905be3c195..28e546923f 100644 --- a/pod/perllocale.pod +++ b/pod/perllocale.pod @@ -1469,7 +1469,7 @@ system's implementation of the locale system than by Perl. The Unicode CLDR project extracts the POSIX portion of many of its locales, available at - http://unicode.org/Public/cldr/2.0.1/ + https://unicode.org/Public/cldr/2.0.1/ (Newer versions of CLDR require you to compute the POSIX data yourself. See L<http://unicode.org/Public/cldr/latest/>.) @@ -1551,9 +1551,9 @@ multi-byte: The only multi-byte (or wide character) locale that Perl is ever likely to support is UTF-8. This is due to the difficulty of implementation, the fact that high quality UTF-8 locales are now published for every -area of the world (L<http://unicode.org/Public/cldr/2.0.1/> for +area of the world (L<https://unicode.org/Public/cldr/2.0.1/> for ones that are already set-up, but from an earlier version; -L<http://unicode.org/Public/cldr/latest/> for the most up-to-date, but +L<https://unicode.org/Public/cldr/latest/> for the most up-to-date, but you have to extract the POSIX information yourself), and that failing all that you can use the L<Encode> module to translate to/from your locale. So, you'll have to do one of those things if you're using diff --git a/pod/perlmodinstall.pod b/pod/perlmodinstall.pod index 72728f69e1..667055f59f 100644 --- a/pod/perlmodinstall.pod +++ b/pod/perlmodinstall.pod @@ -7,10 +7,10 @@ perlmodinstall - Installing CPAN Modules You can think of a module as the fundamental unit of reusable Perl code; see L<perlmod> for details. Whenever anyone creates a chunk of Perl code that they think will be useful to the world, they register -as a Perl developer at L<http://www.cpan.org/modules/04pause.html> +as a Perl developer at L<https://www.cpan.org/modules/04pause.html> so that they can then upload their code to the CPAN. The CPAN is the Comprehensive Perl Archive Network and can be accessed at -L<http://www.cpan.org/> , and searched at L<http://search.cpan.org/> . +L<https://www.cpan.org/> , and searched at L<https://metacpan.org/> . This documentation is for people who want to download CPAN modules and install them on their own computer. @@ -68,7 +68,7 @@ directory) and use this approach. B<If you're on a Unix or Unix-like system,> You can use Andreas Koenig's CPAN module -( L<http://www.cpan.org/modules/by-module/CPAN> ) +( L<https://metacpan.org/release/CPAN> ) to automate the following steps, from DECOMPRESS through INSTALL. A. DECOMPRESS @@ -128,7 +128,9 @@ steps below. A. DECOMPRESS -You can use the shareware Winzip ( L<http://www.winzip.com> ) to +You can use the +open source 7-zip ( L<https://www.7-zip.org/> ) +or the shareware Winzip ( L<https://www.winzip.com> ) to decompress and unpack modules. B. UNPACK @@ -140,7 +142,7 @@ If you used WinZip, this was already done for you. You'll need the C<nmake> utility, available at L<http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/nmake15.exe> or dmake, available on CPAN. -L<http://search.cpan.org/dist/dmake/> +L<https://search.cpan.org/dist/dmake/> Does the module require compilation (i.e. does it have files that end in .xs, .c, .h, .y, .cc, .cxx, or .C)? If it does, life is now @@ -197,8 +199,8 @@ You will need the packages mentioned in F<README.dos> in the Perl distribution. B<If you're on OS/2,> -Get the EMX development suite and gzip/tar, from either Hobbes ( -L<http://hobbes.nmsu.edu> ) or Leo ( L<http://www.leo.org> ), and then follow +Get the EMX development suite and gzip/tar from Hobbes ( +L<http://hobbes.nmsu.edu/h-browse.php?dir=/pub/os2/dev/emx/v0.9d> ), and then follow the instructions for Unix. =item * @@ -333,7 +335,7 @@ not a module will work under your platform. If the module you want isn't listed there, you can test it yourself and let CPAN Testers know, you can join CPAN Testers, or you can request it be tested. - http://testers.cpan.org/ + https://cpantesters.org/ =head1 HEY @@ -343,7 +345,7 @@ don't send me mail asking for help on how to install your modules. There are too many modules, and too few Orwants, for me to be able to answer or even acknowledge all your questions. Contact the module author instead, ask someone familiar with Perl on your operating -system, or if all else fails, file a ticket at L<http://rt.cpan.org/>. +system, or if all else fails, file a ticket at L<https://rt.cpan.org/>. =head1 AUTHOR diff --git a/pod/perlmodlib.PL b/pod/perlmodlib.PL index 063e56cafd..0e643239ad 100644 --- a/pod/perlmodlib.PL +++ b/pod/perlmodlib.PL @@ -118,7 +118,7 @@ push @mod, "=item Config\n\nAccess Perl configuration information\n\n"; # parse as (reasonably) sane Pod as-is to anything that attempts to # brute-force treat it as such. The content is already useful - this just # makes it tidier, by stopping anything doing this mistaking the rest of the -# Perl code for Pod. eg http://search.cpan.org/dist/perl/pod/perlmodlib.PL +# Perl code for Pod. eg https://search.cpan.org/dist/perl/pod/perlmodlib.PL print $out <<'=cut'; =head1 NAME @@ -238,7 +238,7 @@ CPAN stands for Comprehensive Perl Archive Network; it's a globally replicated trove of Perl materials, including documentation, style guides, tricks and traps, alternate ports to non-Unix systems and occasional binary distributions for these. Search engines for -CPAN can be found at http://www.cpan.org/ +CPAN can be found at https://www.cpan.org/ Most importantly, CPAN includes around a thousand unbundled modules, some of which require a C compiler to build. Major categories of @@ -1098,7 +1098,7 @@ Generated by Porting/make_modlib_cpan.pl For an up-to-date listing of CPAN sites, -see L<http://www.cpan.org/SITES> or L<ftp://www.cpan.org/SITES>. +see L<https://www.cpan.org/SITES> or L<ftp://www.cpan.org/SITES>. =head1 Modules: Creation, Use, and Abuse @@ -1306,7 +1306,7 @@ unique in the first 8 characters. Nested modules make this easier. For additional guidance on the naming of modules, please consult: - http://pause.perl.org/pause/query?ACTION=pause_namingmodules + https://pause.perl.org/pause/query?ACTION=pause_namingmodules or send mail to the <module-auth...@perl.org> mailing list. @@ -1426,11 +1426,11 @@ How to release and distribute a module. If possible, register the module with CPAN. Follow the instructions and links on: - http://www.cpan.org/modules/04pause.html + https://www.cpan.org/modules/04pause.html and upload to: - http://pause.perl.org/ + https://pause.perl.org/ and notify <modu...@perl.org>. This will allow anyone to install your module using the C<cpan> tool distributed with Perl. diff --git a/pod/perlootut.pod b/pod/perlootut.pod index b340dc6ea7..e9b58ee05b 100644 --- a/pod/perlootut.pod +++ b/pod/perlootut.pod @@ -23,7 +23,7 @@ version. This document provides an introduction to object-oriented programming in Perl. It begins with a brief overview of the concepts behind object oriented design. Then it introduces several different OO systems from -L<CPAN|http://search.cpan.org> which build on top of what Perl +L<CPAN|https://search.cpan.org> which build on top of what Perl provides. By default, Perl's built-in OO system is very minimal, leaving you to @@ -547,7 +547,7 @@ C<Moose> itself. ... 816 lines suppressed ... -- Perl5 Master Repository