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

pinto init fails with perl 5.30.1 because pinto 0.14 Getopt::Long::Descriptive 0.093 has deprecated syntax #255

Open
n-form opened this issue Feb 21, 2020 · 0 comments

Comments

@n-form
Copy link

n-form commented Feb 21, 2020

Using perl 5.30.1, then obtaining and installing pinto 0.14, running 'pinto init' fails with

Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/(?:[:=][\d\w+]+[%@]?({ <-- HERE \d*,\d*})?|[!+])$/ at /opt/mypinto/lib/perl5/Getopt/Long/Descriptive.pm line 68.
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/
(% # leading '%'
(-)? # left-align, rather than right
(\d*)? # (optional) minimum field width
(?:.(\d*))? # (optional) maximum field width
({ <-- HERE .*?})? # (optional) stuff inside
(\S) # actual format character
)/ at /opt/mypinto/lib/perl5/String/Format.pm line 77.

Manual inspection of Getopt::Long::Descriptive in pinto reveals it to be VERSION = '0.093'
Currently on MetaCPAN it is version 0.104 released Apr 27, 2019.

I speculate the solution is to update Pinto to use a the more recent version of Getopt::Long::Descriptive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant