Skip Menu |
Report information
Id: 132214
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: [LHF] `need` with version silently fails
Download (untitled) / with headers
text/plain 601b
If you `use` a v6.d, it causes language switch and will also complain if the version is too high. The same doesn't happen with `need`. It should probably fail in these cases, and `<version>` should be just removed from the grammar[^1]. 15:26 m: need v6.c 15:26 camelia rakudo-moar f946bd: ( no output ) 15:27 Zoffix m: need v6.e 15:27 camelia rakudo-moar f946bd: ( no output ) 15:32 Zoffix m: need v6.d; say $*PERL.version 15:32 camelia rakudo-moar f946bd: OUTPUT: «v6.c␤» [1]

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

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at