wget https://www.cpan.org/src/5.0/perl-5.40.0.tar.gz tar -xzf perl-5.40.0.tar.gz cd perl-5.40.0 ./Configure -des -Dprefix=/home/cavac/bin/CavacPerl-5.40.0 make make test make install #### #!/usr/bin/env perl use v5.40; use strict; # <-- technically not required, but makes it clear to the reader we are using strict use warnings; # <-- technically not required (i think), but makes it clear to the reader we are using warnings # <- no *EXPERIMENTAL* stuff here for(my $i = 0; $i < 10; $i++) { # Note to reader: Yes, could have used a trinary here, but those are hard to read # and therefore forbidden in my codebase print "$i is "; if(!iseven($i)) { print "NOT "; } print "even\n"; } sub iseven($val) { if($val % 2 == 0) { return true; # !!!!! A NATIVE BOOLEAN!!!! } return false; # The *other*, more pessimistic, native boolean ;-) }