Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[multiline.pl] Pod::Select deprecated and removed in latest Perl #421

Open
rianadon opened this issue Aug 9, 2020 · 1 comment
Open
Labels
bug Unexpected problem or unintended behavior

Comments

@rianadon
Copy link

rianadon commented Aug 9, 2020

Script / WeeChat

  • Name of script: multiline.pl among others
  • Script version: 0.6.3
  • WeeChat version: 2.9

This bug has been reported to the script author? Yes/No
Response or reason: 

Bug summary

A few of the perl modules (multiline.pl, menu.pl, coords.pl, etc) use the Pods::Select library, which used to be built-in to perl. This library was deprecated, and in Perl 3.32.0 the parent library Pod::Parser module was removed.

For Perl 3.32.0, it is required to download the module from CPAN or your package manager. However, Pod::Parser has been replaced with the builtin Pod::Simple, which may be a suitable replacement.

Steps to reproduce

1. Download perl 3.32.0, without any extra libraries
2. Install multiline.pl
3. Perl will report it cannot find the Pod::Select library

Suggested solutions

Preferably replace Pod::Select with Pod::Simple or document users must install the extra package (e.g. on Arch this is pacman -S perl-pod-parser).

@rianadon rianadon added the bug Unexpected problem or unintended behavior label Aug 9, 2020
@ailin-nemui
Copy link
Contributor

I asked on IRC #perl and they agreed that apparently Pod::Simple either cannot do it or the documentation is so bad that there's no way to figure out how to do it.

For now the recommended solution will be to install Pod::Select manually

algitbot pushed a commit to alpinelinux/aports that referenced this issue Mar 1, 2023
Multiple Weechat perl scripts require Pod::Select:

- chanmon.pl
- coords.pl
- luanma.pl
- menu.pl
- multiline.pl
- spell_menu.pl

This has been deprecated and removed in latest perl versions:

weechat/scripts#421

We make weechat-perl to depends on perl-pod-parser to fix the issue
until an alternative is found upstream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants