You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gherkin-perl: Gherkin uses feature from perl5.12 but only requires perl5.10.1
Summary
When running gherkin on perl 5.10.1 (the minimum supported version), the "..." lines in Gherkin::Pickles::Compiler cause a syntax error, perl minimum version should be increased or '...' feature not used
Expected Behavior
'gherkin' command should parse and run and return ndjson formatted messages
Current Behavior
gherkin command fails with syntax error
$ gherkin
syntax error at /home/gherkin/perl5/lib/perl5/Gherkin/Pickles/Compiler.pm line 35, near "..."
syntax error at /home/gherkin/perl5/lib/perl5/Gherkin/Pickles/Compiler.pm line 171, near "..."
Compilation failed in require at /home/gherkin/perl5/lib/perl5/Gherkin.pm line 9.
Possible Solution
One of
Gherkin module should have 5.12 as the minimum version, and not be installable on 5.10.1, or
Gherkin::Pickles::Compiler should use 'die "Unimplemented";' instead of '...', making it 5.10.1 compatible
Steps to Reproduce (for bugs)
perlbrew use 5.10.1
cpanm Gherkin
gherkin
Context & Motivation
Trying to use Gherkin to parse files on an old system (Centos 6, Perl 5.10.1)
Your Environment
Version used: Gherkin-18.1.1
Operating System and version: CentOS 6
Link to your project:
The text was updated successfully, but these errors were encountered:
jwrightecs
changed the title
gherkin-perl: Gherkin uses feature from perl5.12 but only requires perl5.10.1 language:perl
gherkin-perl: Gherkin uses feature from perl5.12 but only requires perl5.10.1 language:perl
Apr 22, 2021
gherkin-perl: Gherkin uses feature from perl5.12 but only requires perl5.10.1
Summary
When running gherkin on perl 5.10.1 (the minimum supported version), the "..." lines in Gherkin::Pickles::Compiler cause a syntax error, perl minimum version should be increased or '...' feature not used
Expected Behavior
'gherkin' command should parse and run and return ndjson formatted messages
Current Behavior
gherkin command fails with syntax error
Possible Solution
One of
Steps to Reproduce (for bugs)
Context & Motivation
Trying to use Gherkin to parse files on an old system (Centos 6, Perl 5.10.1)
Your Environment
The text was updated successfully, but these errors were encountered: