Skip Menu |
 

This queue is for tickets about the Perl-MinimumVersion CPAN distribution.

Report information
The Basics
Id: 101043
Status: open
Priority: 0/
Queue: Perl-MinimumVersion

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.38
Fixed in: (no value)



Subject: Not detecting XS functions added in recent releases
Download (untitled) / with headers
text/plain 147b
Cond::Expr uses the perl API parse_fullexpr(), which was added in 5.14.0 -- see L<perl5140delta/New-Parsing-Functions> -- but this is not detected.
Download (untitled) / with headers
text/plain 208b
Does this module even handle XS? AFAICT it just uses PPI, which apparently tries to parse the XS as Perl and comes up with some strange result. It seems like this module should be explicitly ignoring XS code.
Download (untitled) / with headers
text/plain 499b
On Sat Nov 18 12:59:38 2017, DROLSKY wrote: Show quoted text
> Does this module even handle XS? AFAICT it just uses PPI, which > apparently tries to parse the XS as Perl and comes up with some > strange result. It seems like this module should be explicitly > ignoring XS code.
Couldn't you just have a list of strings to search for in the XS code and if you see them, report back 5.14.0 (or whatever) as the minimum version? I realize this leaves things open to corner cases but I bet it gets 99.x % of the cases.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.