Package : perl-autovivification > RPM : perl-autovivification-0.180.0-9.mga9.src.rpm
Basic items
Name | perl-autovivification |
Version | 0.180.0 |
Release | 9.mga9 |
URL | https://metacpan.org/release/autovivification |
Group | Development/Perl |
Summary | Lexically disable autovivification |
Size | 59KB |
Arch | armv7hl |
License | GPL+ or Artistic |
Description
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.
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.
Media information
Distribution release | Mageia 9 |
Media name | core-release |
Media arch | aarch64 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2022-06-06 23:21:28 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |