Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: bc4a9d813672ab84362aa3371710f75c49a6f905
      
https://github.com/Perl/perl5/commit/bc4a9d813672ab84362aa3371710f75c49a6f905
  Author: James E Keenan <[email protected]>
  Date:   2021-08-14 (Sat, 14 Aug 2021)

  Changed paths:
    M ext/Pod-Html/lib/Pod/Html.pm
    M ext/Pod-Html/lib/Pod/Html/Util.pm

  Log Message:
  -----------
  Pod-Html: Simplify the sub which processes options

Pod::Html::Util::parse_command_line() was doing too much.  It should
wrap around GetOptions(), call the usage() routine if needed, then
return a hashref of options to its caller.

Its caller -- Pod::Html::pod2html() -- should do the heavy lifting
involved in processing the options and inserting the data into the
globals hashref.

Hence, we rename Pod::Html::Util::parse_command_line to
Pod::Html::Util::process_command_line() and simplify its functionality.
In lib/Pod/Html.pm we import process_command_line(), call it and pass
its return value onto a new subroutine, process_options(), that
populates $globals.

Document Pod::Html::Util subroutines.


  Commit: c0ac28175b4f88934f5b20131fbcd727c858af8d
      
https://github.com/Perl/perl5/commit/c0ac28175b4f88934f5b20131fbcd727c858af8d
  Author: James E Keenan <[email protected]>
  Date:   2021-08-14 (Sat, 14 Aug 2021)

  Changed paths:
    M ext/Pod-Html/lib/Pod/Html.pm

  Log Message:
  -----------
  Pod::Html: assign directly to array ref

... rather than to the array which is referenced.  (Corrected response
to rjbs comment in
https://github.com/Perl/perl5/pull/18977#discussion_r671734180)


  Commit: 4b79ccc8bc29ed54bb9a9e62d7ecc0162dba10f5
      
https://github.com/Perl/perl5/commit/4b79ccc8bc29ed54bb9a9e62d7ecc0162dba10f5
  Author: James E Keenan <[email protected]>
  Date:   2021-08-14 (Sat, 14 Aug 2021)

  Changed paths:
    M ext/Pod-Html/lib/Pod/Html/Util.pm

  Log Message:
  -----------
  Pod::Html::Util: small documentation changes

In part suggested by rjbs code review.


  Commit: ca5ef5cf0c031c02848b858299784105a60e33e8
      
https://github.com/Perl/perl5/commit/ca5ef5cf0c031c02848b858299784105a60e33e8
  Author: James E Keenan <[email protected]>
  Date:   2021-08-14 (Sat, 14 Aug 2021)

  Changed paths:
    M ext/Pod-Html/lib/Pod/Html.pm
    M ext/Pod-Html/lib/Pod/Html/Util.pm

  Log Message:
  -----------
  Merge branch 'pod-html-refactoring-4-of-5' into blead


Compare: https://github.com/Perl/perl5/compare/9be343bf32d0...ca5ef5cf0c03

Reply via email to