Skip to content

Commit

Permalink
regen/HeaderParser.pm: require perl >= 5.10
Browse files Browse the repository at this point in the history
This won't compile when run on earlier perls, and the reason isn't
apparent without some digging.  It turns out that it uses named capture
groups which came in 5.9.5, and the first stable release was 5.10
  • Loading branch information
khwilliamson committed Jul 16, 2023
1 parent 8224302 commit b30120c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions regen/HeaderParser.pm
@@ -1,6 +1,7 @@
package HeaderParser;
use strict;
use warnings;
use v5.10; # Needs named capture groups

# these are required below in BEGIN statements, we cant have a
# hard dependency on them as they might not be available when
Expand Down

0 comments on commit b30120c

Please sign in to comment.