Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 9f530bb96ab848b11ee0439b8b093e0c1887aab9 https://github.com/Perl/perl5/commit/9f530bb96ab848b11ee0439b8b093e0c1887aab9 Author: Lukas Mai <lukasmai....@gmail.com> Date: 2024-06-19 (Wed, 19 Jun 2024)
Changed paths: M pod/perlfunc.pod Log Message: ----------- perlfunc: document that sort is stable, remove 'use sort' references Commit: 9e4e463806821798ca5ea3d9225fe42cce77103d https://github.com/Perl/perl5/commit/9e4e463806821798ca5ea3d9225fe42cce77103d Author: Lukas Mai <lukasmai....@gmail.com> Date: 2024-06-19 (Wed, 19 Jun 2024) Changed paths: M lib/sort.pm Log Message: ----------- sort: fix display of verbatim blocks by using spaces, not tabs The `use sort 'defaults';` line used only one tab before the comment; the other lines had two. This renders inconsistently depending on how much initial space is used in the output (and where the tab stops are). For example, <https://perldoc.perl.org/sort#SYNOPSIS> looked like use sort 'stable'; # guarantee stability use sort 'defaults'; # revert to default behavior no sort 'stable'; # stability not important Using spaces ensures the "#" signs are aligned everywhere. Compare: https://github.com/Perl/perl5/compare/ff08b60388ee...9e4e46380682 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications