Index: head/devel/p5-autovivification/Makefile =================================================================== --- head/devel/p5-autovivification/Makefile (revision 484573) +++ head/devel/p5-autovivification/Makefile (revision 484574) @@ -1,19 +1,19 @@ # Created by: Tom Judge # $FreeBSD$ PORTNAME= autovivification -PORTVERSION= 0.16 +PORTVERSION= 0.18 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:VPIT PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Lexically disable autovivification LICENSE= MIT USES= perl5 USE_PERL5= configure .include Index: head/devel/p5-autovivification/distinfo =================================================================== --- head/devel/p5-autovivification/distinfo (revision 484573) +++ head/devel/p5-autovivification/distinfo (revision 484574) @@ -1,2 +1,3 @@ -SHA256 (autovivification-0.16.tar.gz) = 814d0ef1fc6f01dbd0b85ffbec474b66d581c3a3ceb537e5ca67dbe9129f4290 -SIZE (autovivification-0.16.tar.gz) = 49374 +TIMESTAMP = 1541615299 +SHA256 (autovivification-0.18.tar.gz) = 2d99975685242980d0a9904f639144c059d6ece15899efde4acb742d3253f105 +SIZE (autovivification-0.18.tar.gz) = 55854 Index: head/devel/p5-autovivification/pkg-descr =================================================================== --- head/devel/p5-autovivification/pkg-descr (revision 484573) +++ head/devel/p5-autovivification/pkg-descr (revision 484574) @@ -1,3 +1,12 @@ -Lexically disable autovivification. +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. WWW: https://metacpan.org/release/autovivification