Subject: | documentation: use 5.22 will not work for quite some time |
Documentation suggests using:
use 5.22;
use experimentals;
By my calculation, this will work in the year 2213 :) The first line fails with
twin% perl -e 'use 5.22'
Perl v5.220.0 required (did you mean v5.22.0?)--this is only v5.23.1, stopped at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Subject: | doco.patch |
diff --git a/lib/experimentals.pm b/lib/experimentals.pm
index 610448e..a9e46e7 100644
--- a/lib/experimentals.pm
+++ b/lib/experimentals.pm
@@ -114,7 +114,7 @@ which is uncomfortably verbose.
This module reduces that to:
- use 5.22;
+ use v5.22;
use experimentals;