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

Perl 5.14 regex syntax breaking older perl version #16

Open
gfeun opened this issue Mar 2, 2022 · 0 comments
Open

Perl 5.14 regex syntax breaking older perl version #16

gfeun opened this issue Mar 2, 2022 · 0 comments

Comments

@gfeun
Copy link

gfeun commented Mar 2, 2022

Hello,

Version 1.4.0 broke support for perl versions older than 5.14.

A regex flag introduced in Perl 5.14 has been used here

$ perl -v 
This is perl, v5.10.1 (*) built for x86_64-linux 
Bareword found where operator expected at /app/t/../local/lib/perl5/Log/Dispatch/Gelf.pm line 86, near "s/\n.*//sr"

Fix would be to find a 5.10 compatible option or drop support and advertise 5.14+ support in Meta.json and cpanfile.

Thanks !

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