This is perlbrewed on Linux (Ubuntu jammy), and works as expected.$ perl -wE 'say $]; require (0 + 5.040);' 5.038000 Perl v5.40.0 required--this is only v5.38.0, stopped at -e line 1.
Edited to add: I also ran the tests for Syntax-Construct-1.036_001, tests pass as expected. The relevant debug line reads:
DEBUG: require 5.040 in 5.038000: 0 at t/02-constructs.t line 346.In reply to Re: Requiring a version
by haj
in thread Requiring a version
by choroba
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |