3 ms·
Perl does something similar; use v5.24 at start of the file will make it work as if the version of Perl was 5.24, and it works on per-file basics, not on
by ilyt 3y ago
Perl does something similar;
use v5.24
at start of the file will make it work as if the version of Perl was 5.24, and it works on per-file basics, not only per module
- sigzero 3y agoThat's exactly what I thought of when reading the description.
- holiveros 3y agoEven more fine-grained, https://perldoc.perl.org/functions/use#use-VERSION https://perldoc.perl.org/functions/use#use-VERSION > ... Later use of use VERSION will override all behavior of a previous use VERSION, > possibly removing the strict, warnings, and feature added by it ...