Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2018 07:56:46 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484574 - head/devel/p5-autovivification
Message-ID:  <201811100756.wAA7ukXs050313@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Nov 10 07:56:46 2018
New Revision: 484574
URL: https://svnweb.freebsd.org/changeset/ports/484574

Log:
  Update to 0.18
  
  - Update pkg-descr
  
  Changes:	https://metacpan.org/changes/distribution/autovivification

Modified:
  head/devel/p5-autovivification/Makefile
  head/devel/p5-autovivification/distinfo
  head/devel/p5-autovivification/pkg-descr

Modified: head/devel/p5-autovivification/Makefile
==============================================================================
--- head/devel/p5-autovivification/Makefile	Sat Nov 10 07:22:09 2018	(r484573)
+++ head/devel/p5-autovivification/Makefile	Sat Nov 10 07:56:46 2018	(r484574)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	autovivification
-PORTVERSION=	0.16
+PORTVERSION=	0.18
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:VPIT

Modified: head/devel/p5-autovivification/distinfo
==============================================================================
--- head/devel/p5-autovivification/distinfo	Sat Nov 10 07:22:09 2018	(r484573)
+++ head/devel/p5-autovivification/distinfo	Sat Nov 10 07:56:46 2018	(r484574)
@@ -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

Modified: head/devel/p5-autovivification/pkg-descr
==============================================================================
--- head/devel/p5-autovivification/pkg-descr	Sat Nov 10 07:22:09 2018	(r484573)
+++ head/devel/p5-autovivification/pkg-descr	Sat Nov 10 07:56:46 2018	(r484574)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811100756.wAA7ukXs050313>