-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
28 lines (22 loc) · 1.62 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup perl5 1.0
perl5.branches 5.28 5.30 5.32 5.34
perl5.setup autovivification 0.18 ../by-authors/id/V/VP/VPIT
platforms darwin
maintainers nomaintainer
license {Artistic-1 GPL}
description Lexically disable autovivification
long_description When an undefined variable is dereferenced, it gets silently upgraded to \
an array or hash reference (depending of the type of the dereferencing). \
This behaviour is called *autovivification* and usually does what you \
mean (e.g. when you store a value) but it may be unnatural or surprising \
because your variables gets populated behind your back. This is \
especially true when several levels of dereferencing are involved, in \
which case all levels are vivified up to the last, or when it happens in \
intuitively read-only constructs like 'exists'. \
\
This pragma lets you disable autovivification for some constructs and \
optionally throws a warning or an error when it would have happened.
checksums rmd160 c5092ec8f3a85ac713e6a7aa6353d9e59af57893 \
sha256 2d99975685242980d0a9904f639144c059d6ece15899efde4acb742d3253f105