perl-autovivification - Lexically disable autovivification

Distribution: openSUSE 42.1
Repository: openSUSE Oss all
Package name: perl-autovivification
Package version: 0.12
Package release: 3.2
Package architecture: x86_64
Package type: rpm
Installed size: 43.77 KB
Download size: 22.23 KB
Official Mirror:
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.




  • perl(autovivification) = 0.12
  • perl-autovivification = 0.12-3.2
  • perl-autovivification(x86-64) = 0.12-3.2

    Install Howto

    Install perl-autovivification rpm package:

    # zypper install perl-autovivification