Skip to content

Commit 373d578

Browse files
add pragmas and stuff
1 parent c8e992b commit 373d578

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

t/lib/Helper.pm

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
use strictures 2;
22
# no package, so things defined here appear in the namespace of the parent.
33

4+
use 5.020;
5+
use stable 0.031 'postderef';
6+
use experimental 'signatures';
7+
use if "$]" >= 5.022, experimental => 're_strict';
8+
no if "$]" >= 5.031009, feature => 'indirect';
9+
no if "$]" >= 5.033001, feature => 'multidimensional';
10+
no if "$]" >= 5.033006, feature => 'bareword_filehandles';
11+
use open ':std', ':encoding(UTF-8)'; # force stdin, stdout, stderr into utf8
12+
413
use JSON::PP ();
514
use constant { true => JSON::PP::true, false => JSON::PP::false };
615

0 commit comments

Comments
 (0)