source: trunk/dports/perl/p5-autovivification/Portfile

Last change on this file was 154393, checked in by mojca@…, 13 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4# This comment was inserted on 20160713 to force reindexing of
5# this port after the default homepage definition in the perl5
6# PortGroup was changed to use metacpan.org (r150080).
7# Reindexing is necessary for the new definition to take effect.
8# This comment may be removed in subsequent updates of this port.
9
10PortSystem          1.0
11PortGroup           perl5 1.0
12
13perl5.branches      5.24
14perl5.setup         autovivification 0.16 ../by-authors/id/V/VP/VPIT
15
16platforms           darwin
17maintainers         nomaintainer
18license             {Artistic-1 GPL}
19
20description         Lexically disable autovivification
21
22long_description    When an undefined variable is dereferenced, it gets silently upgraded to \
23                    an array or hash reference (depending of the type of the dereferencing). \
24                    This behaviour is called *autovivification* and usually does what you    \
25                    mean (e.g. when you store a value) but it may be unnatural or surprising \
26                    because your variables gets populated behind your back. This is          \
27                    especially true when several levels of dereferencing are involved, in    \
28                    which case all levels are vivified up to the last, or when it happens in \
29                    intuitively read-only constructs like 'exists'.                          \
30                                                                                             \
31                    This pragma lets you disable autovivification for some constructs and    \
32                    optionally throws a warning or an error when it would have happened.
33
34checksums           rmd160  1990d65f065ddc93619b48dc6b2946a4e6fe4982 \
35                    sha256  814d0ef1fc6f01dbd0b85ffbec474b66d581c3a3ceb537e5ca67dbe9129f4290
Note: See TracBrowser for help on using the repository browser.