xref: /openbsd-src/gnu/usr.bin/perl/pod/perl5361delta.pod (revision cf22c65b8bf6c73ea20c93a2dac86b70316d2fbc)
1*cf22c65bSafresh1=encoding utf8
2*cf22c65bSafresh1
3*cf22c65bSafresh1=head1 NAME
4*cf22c65bSafresh1
5*cf22c65bSafresh1perl5361delta - what is new for perl v5.36.1
6*cf22c65bSafresh1
7*cf22c65bSafresh1=head1 DESCRIPTION
8*cf22c65bSafresh1
9*cf22c65bSafresh1This document describes differences between the 5.36.0 release and the 5.36.1
10*cf22c65bSafresh1release.
11*cf22c65bSafresh1
12*cf22c65bSafresh1If you are upgrading from an earlier release such as 5.35.0, first read
13*cf22c65bSafresh1L<perl5360delta>, which describes differences between 5.35.0 and 5.36.0.
14*cf22c65bSafresh1
15*cf22c65bSafresh1=head1 Incompatible Changes
16*cf22c65bSafresh1
17*cf22c65bSafresh1There are no changes intentionally incompatible with 5.36.0.  If any exist,
18*cf22c65bSafresh1they are bugs, and we request that you submit a report.  See
19*cf22c65bSafresh1L</Reporting Bugs> below.
20*cf22c65bSafresh1
21*cf22c65bSafresh1=head1 Modules and Pragmata
22*cf22c65bSafresh1
23*cf22c65bSafresh1=head2 Updated Modules and Pragmata
24*cf22c65bSafresh1
25*cf22c65bSafresh1=over 4
26*cf22c65bSafresh1
27*cf22c65bSafresh1=item *
28*cf22c65bSafresh1
29*cf22c65bSafresh1L<Module::CoreList> has been upgraded from version 5.20220520 to 5.20230423.
30*cf22c65bSafresh1
31*cf22c65bSafresh1=back
32*cf22c65bSafresh1
33*cf22c65bSafresh1=head1 Configuration and Compilation
34*cf22c65bSafresh1
35*cf22c65bSafresh1=over 4
36*cf22c65bSafresh1
37*cf22c65bSafresh1=item *
38*cf22c65bSafresh1
39*cf22c65bSafresh1C<Configure> probed for the return type of malloc() and free() by testing
40*cf22c65bSafresh1whether declarations for those functions produced a function type mismatch with
41*cf22c65bSafresh1the implementation.  On Solaris, with a C++ compiler, this check always failed,
42*cf22c65bSafresh1since Solaris instead imports malloc() and free() from C<std::> with C<using>
43*cf22c65bSafresh1for C++ builds.  Since the return types of malloc() and free() are well defined
44*cf22c65bSafresh1by the C standard, skip probing for them.  C<Configure> command-line arguments
45*cf22c65bSafresh1and hints can still override these type in the unlikely case that is needed.
46*cf22c65bSafresh1[L<GH #20806|https://github.com/Perl/perl5/issues/20806>]
47*cf22c65bSafresh1
48*cf22c65bSafresh1=back
49*cf22c65bSafresh1
50*cf22c65bSafresh1=head1 Testing
51*cf22c65bSafresh1
52*cf22c65bSafresh1Tests were added and changed to reflect the other additions and changes in this
53*cf22c65bSafresh1release.
54*cf22c65bSafresh1
55*cf22c65bSafresh1=head1 Selected Bug Fixes
56*cf22c65bSafresh1
57*cf22c65bSafresh1=over 4
58*cf22c65bSafresh1
59*cf22c65bSafresh1=item *
60*cf22c65bSafresh1
61*cf22c65bSafresh1An eval() as the last statement in a regex code block could trigger an
62*cf22c65bSafresh1interpreter panic; e.g.
63*cf22c65bSafresh1
64*cf22c65bSafresh1    /(?{ ...; eval {....}; })/
65*cf22c65bSafresh1
66*cf22c65bSafresh1[L<GH #19680|https://github.com/Perl/perl5/issues/19680>]
67*cf22c65bSafresh1
68*cf22c65bSafresh1=item *
69*cf22c65bSafresh1
70*cf22c65bSafresh1An C<eval EXPR> referring to a lexical sub defined in grandparent scope no
71*cf22c65bSafresh1longer produces an assertion failures.
72*cf22c65bSafresh1[L<GH #19857|https://github.com/Perl/perl5/issues/19857>]
73*cf22c65bSafresh1
74*cf22c65bSafresh1=item *
75*cf22c65bSafresh1
76*cf22c65bSafresh1Writing to a magic variables associated with the selected output handle, C<$^>,
77*cf22c65bSafresh1C<$~>, C<$=>, C<$-> and C<$%>, no longer crashes perl if the IO object has been
78*cf22c65bSafresh1cleared from the selected output handle.
79*cf22c65bSafresh1[L<GH #20733|https://github.com/Perl/perl5/issues/20733>]
80*cf22c65bSafresh1
81*cf22c65bSafresh1=back
82*cf22c65bSafresh1
83*cf22c65bSafresh1=head1 Acknowledgements
84*cf22c65bSafresh1
85*cf22c65bSafresh1Perl 5.36.1 represents approximately 11 months of development since Perl 5.36.0
86*cf22c65bSafresh1and contains approximately 5,500 lines of changes across 62 files from 24
87*cf22c65bSafresh1authors.
88*cf22c65bSafresh1
89*cf22c65bSafresh1Excluding auto-generated files, documentation and release tools, there were
90*cf22c65bSafresh1approximately 1,600 lines of changes to 23 .pm, .t, .c and .h files.
91*cf22c65bSafresh1
92*cf22c65bSafresh1Perl continues to flourish into its fourth decade thanks to a vibrant community
93*cf22c65bSafresh1of users and developers.  The following people are known to have contributed
94*cf22c65bSafresh1the improvements that became Perl 5.36.1:
95*cf22c65bSafresh1
96*cf22c65bSafresh1Andreas König, Bram, Chris 'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari
97*cf22c65bSafresh1Mannsåker, David Mitchell, Elvin Aslanov, Florian Weimer, Graham Knop, Hugo
98*cf22c65bSafresh1van der Sanden, Karen Etheridge, Karl Williamson, Leon Timmermans, Matthew
99*cf22c65bSafresh1Horsfall, Max Maischein, Neil Bowers, Nicolas R, Renee Baecker, Ricardo Signes,
100*cf22c65bSafresh1Richard Leach, Steve Hay, Todd Rinaldo, Tony Cook, Yves Orton.
101*cf22c65bSafresh1
102*cf22c65bSafresh1The list above is almost certainly incomplete as it is automatically generated
103*cf22c65bSafresh1from version control history.  In particular, it does not include the names of
104*cf22c65bSafresh1the (very much appreciated) contributors who reported issues to the Perl bug
105*cf22c65bSafresh1tracker.
106*cf22c65bSafresh1
107*cf22c65bSafresh1Many of the changes included in this version originated in the CPAN modules
108*cf22c65bSafresh1included in Perl's core.  We're grateful to the entire CPAN community for
109*cf22c65bSafresh1helping Perl to flourish.
110*cf22c65bSafresh1
111*cf22c65bSafresh1For a more complete list of all of Perl's historical contributors, please see
112*cf22c65bSafresh1the F<AUTHORS> file in the Perl source distribution.
113*cf22c65bSafresh1
114*cf22c65bSafresh1=head1 Reporting Bugs
115*cf22c65bSafresh1
116*cf22c65bSafresh1If you find what you think is a bug, you might check the perl bug database at
117*cf22c65bSafresh1L<https://github.com/Perl/perl5/issues>.  There may also be information at
118*cf22c65bSafresh1L<http://www.perl.org/>, the Perl Home Page.
119*cf22c65bSafresh1
120*cf22c65bSafresh1If you believe you have an unreported bug, please open an issue at
121*cf22c65bSafresh1L<https://github.com/Perl/perl5/issues>.  Be sure to trim your bug down to a
122*cf22c65bSafresh1tiny but sufficient test case.
123*cf22c65bSafresh1
124*cf22c65bSafresh1If the bug you are reporting has security implications which make it
125*cf22c65bSafresh1inappropriate to send to a public issue tracker, then see
126*cf22c65bSafresh1L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION> for details of how to
127*cf22c65bSafresh1report the issue.
128*cf22c65bSafresh1
129*cf22c65bSafresh1=head1 Give Thanks
130*cf22c65bSafresh1
131*cf22c65bSafresh1If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you
132*cf22c65bSafresh1can do so by running the C<perlthanks> program:
133*cf22c65bSafresh1
134*cf22c65bSafresh1    perlthanks
135*cf22c65bSafresh1
136*cf22c65bSafresh1This will send an email to the Perl 5 Porters list with your show of thanks.
137*cf22c65bSafresh1
138*cf22c65bSafresh1=head1 SEE ALSO
139*cf22c65bSafresh1
140*cf22c65bSafresh1The F<Changes> file for an explanation of how to view exhaustive details on
141*cf22c65bSafresh1what changed.
142*cf22c65bSafresh1
143*cf22c65bSafresh1The F<INSTALL> file for how to build Perl.
144*cf22c65bSafresh1
145*cf22c65bSafresh1The F<README> file for general stuff.
146*cf22c65bSafresh1
147*cf22c65bSafresh1The F<Artistic> and F<Copying> files for copyright information.
148*cf22c65bSafresh1
149*cf22c65bSafresh1=cut
150