in reply to Requiring a version

$ 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.
This is perlbrewed on Linux (Ubuntu jammy), and works as expected.

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.