xref: /openbsd/gnu/usr.bin/perl/pod/perl5242delta.pod (revision 256a93a4)
1dcce7324Safresh1=encoding utf8
2dcce7324Safresh1
3dcce7324Safresh1=head1 NAME
4dcce7324Safresh1
5dcce7324Safresh1perl5242delta - what is new for perl v5.24.2
6dcce7324Safresh1
7dcce7324Safresh1=head1 DESCRIPTION
8dcce7324Safresh1
9dcce7324Safresh1This document describes differences between the 5.24.1 release and the 5.24.2
10dcce7324Safresh1release.
11dcce7324Safresh1
12dcce7324Safresh1If you are upgrading from an earlier release such as 5.24.0, first read
13dcce7324Safresh1L<perl5241delta>, which describes differences between 5.24.0 and 5.24.1.
14dcce7324Safresh1
15dcce7324Safresh1=head1 Security
16dcce7324Safresh1
17dcce7324Safresh1=head2 Improved handling of '.' in @INC in base.pm
18dcce7324Safresh1
19dcce7324Safresh1The handling of (the removal of) C<'.'> in C<@INC> in L<base> has been
20dcce7324Safresh1improved.  This resolves some problematic behaviour in the approach taken in
21dcce7324Safresh1Perl 5.24.1, which is probably best described in the following two threads on
22dcce7324Safresh1the Perl 5 Porters mailing list:
23dcce7324Safresh1L<http://www.nntp.perl.org/group/perl.perl5.porters/2016/08/msg238991.html>,
24dcce7324Safresh1L<http://www.nntp.perl.org/group/perl.perl5.porters/2016/10/msg240297.html>.
25dcce7324Safresh1
26dcce7324Safresh1=head2 "Escaped" colons and relative paths in PATH
27dcce7324Safresh1
28dcce7324Safresh1On Unix systems, Perl treats any relative paths in the PATH environment
29dcce7324Safresh1variable as tainted when starting a new process.  Previously, it was allowing a
30dcce7324Safresh1backslash to escape a colon (unlike the OS), consequently allowing relative
31dcce7324Safresh1paths to be considered safe if the PATH was set to something like C</\:.>.  The
32dcce7324Safresh1check has been fixed to treat C<.> as tainted in that example.
33dcce7324Safresh1
34dcce7324Safresh1=head1 Modules and Pragmata
35dcce7324Safresh1
36dcce7324Safresh1=head2 Updated Modules and Pragmata
37dcce7324Safresh1
38dcce7324Safresh1=over 4
39dcce7324Safresh1
40dcce7324Safresh1=item *
41dcce7324Safresh1
42dcce7324Safresh1L<base> has been upgraded from version 2.23 to 2.23_01.
43dcce7324Safresh1
44dcce7324Safresh1=item *
45dcce7324Safresh1
46dcce7324Safresh1L<Module::CoreList> has been upgraded from version 5.20170114_24 to 5.20170715_24.
47dcce7324Safresh1
48dcce7324Safresh1=back
49dcce7324Safresh1
50dcce7324Safresh1=head1 Selected Bug Fixes
51dcce7324Safresh1
52dcce7324Safresh1=over 4
53dcce7324Safresh1
54dcce7324Safresh1=item *
55dcce7324Safresh1
56dcce7324Safresh1Fixed a crash with C<s///l> where it thought it was dealing with UTF-8 when it
57dcce7324Safresh1wasn't.
58*256a93a4Safresh1L<[GH #15543]|https://github.com/Perl/perl5/issues/15543>
59dcce7324Safresh1
60dcce7324Safresh1=back
61dcce7324Safresh1
62dcce7324Safresh1=head1 Acknowledgements
63dcce7324Safresh1
64dcce7324Safresh1Perl 5.24.2 represents approximately 6 months of development since Perl 5.24.1
65dcce7324Safresh1and contains approximately 2,500 lines of changes across 53 files from 18
66dcce7324Safresh1authors.
67dcce7324Safresh1
68dcce7324Safresh1Excluding auto-generated files, documentation and release tools, there were
69dcce7324Safresh1approximately 960 lines of changes to 17 .pm, .t, .c and .h files.
70dcce7324Safresh1
71dcce7324Safresh1Perl continues to flourish into its third decade thanks to a vibrant community
72dcce7324Safresh1of users and developers.  The following people are known to have contributed
73dcce7324Safresh1the improvements that became Perl 5.24.2:
74dcce7324Safresh1
75dcce7324Safresh1Aaron Crane, Abigail, Aristotle Pagaltzis, Chris 'BinGOs' Williams, Dan
76dcce7324Safresh1Collins, David Mitchell, Eric Herman, Father Chrysostomos, James E Keenan, Karl
77dcce7324Safresh1Williamson, Lukas Mai, Renee Baecker, Ricardo Signes, Sawyer X, Stevan Little,
78dcce7324Safresh1Steve Hay, Tony Cook, Yves Orton.
79dcce7324Safresh1
80dcce7324Safresh1The list above is almost certainly incomplete as it is automatically generated
81dcce7324Safresh1from version control history.  In particular, it does not include the names of
82dcce7324Safresh1the (very much appreciated) contributors who reported issues to the Perl bug
83dcce7324Safresh1tracker.
84dcce7324Safresh1
85dcce7324Safresh1Many of the changes included in this version originated in the CPAN modules
86dcce7324Safresh1included in Perl's core.  We're grateful to the entire CPAN community for
87dcce7324Safresh1helping Perl to flourish.
88dcce7324Safresh1
89dcce7324Safresh1For a more complete list of all of Perl's historical contributors, please see
90dcce7324Safresh1the F<AUTHORS> file in the Perl source distribution.
91dcce7324Safresh1
92dcce7324Safresh1=head1 Reporting Bugs
93dcce7324Safresh1
94dcce7324Safresh1If you find what you think is a bug, you might check the articles recently
95dcce7324Safresh1posted to the comp.lang.perl.misc newsgroup and the perl bug database at
96dcce7324Safresh1L<https://rt.perl.org/> .  There may also be information at
97dcce7324Safresh1L<http://www.perl.org/> , the Perl Home Page.
98dcce7324Safresh1
99dcce7324Safresh1If you believe you have an unreported bug, please run the L<perlbug> program
100dcce7324Safresh1included with your release.  Be sure to trim your bug down to a tiny but
101dcce7324Safresh1sufficient test case.  Your bug report, along with the output of C<perl -V>,
102dcce7324Safresh1will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
103dcce7324Safresh1
104dcce7324Safresh1If the bug you are reporting has security implications which make it
105dcce7324Safresh1inappropriate to send to a publicly archived mailing list, then see
106dcce7324Safresh1L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION>
107dcce7324Safresh1for details of how to report the issue.
108dcce7324Safresh1
109dcce7324Safresh1=head1 SEE ALSO
110dcce7324Safresh1
111dcce7324Safresh1The F<Changes> file for an explanation of how to view exhaustive details on
112dcce7324Safresh1what changed.
113dcce7324Safresh1
114dcce7324Safresh1The F<INSTALL> file for how to build Perl.
115dcce7324Safresh1
116dcce7324Safresh1The F<README> file for general stuff.
117dcce7324Safresh1
118dcce7324Safresh1The F<Artistic> and F<Copying> files for copyright information.
119dcce7324Safresh1
120dcce7324Safresh1=cut
121