Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Bug#575977: ITP: libautovivification-perl -- Lexically disable autovivification. (http://www.linux-archive.org/debian-development/349563-bug-575977-itp-libautovivification-perl-lexically-disable-autovivification.html)

Ivan Kohler 03-31-2010 03:17 AM

Bug#575977: ITP: libautovivification-perl -- Lexically disable autovivification.
 
Package: wnpp
Severity: wishlist
Owner: Ivan Kohler <ivan-debian@420.am>
Owner: Ivan Kohler <ivan-debian@420.am>

* Package name : libautovivification-perl
Version : 0.05
Upstream Author : Vincent Pit, <perl at profvince.com>, http://www.profvince.com
* URL : http://search.cpan.org/dist/autovivification/
* License : Perl
Programming Lang: Perl
Description : 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's sometimes
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.



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100331031713.7020.16556.reportbug@skydancer.free side.biz">http://lists.debian.org/20100331031713.7020.16556.reportbug@skydancer.free side.biz


All times are GMT. The time now is 10:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.