p5.28-autovivification (perl/p5-autovivification) Add to my watchlist

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.

Version: 0.180.0 License: (Artistic-1 or GPL) GitHub
Reset

9 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
14.arm64 8091 2024-01-19 2:10:36 0:00:14 4165 build successful
14 7123 2023-11-04 17:21:48 0:01:10 1287 build successful
13.arm64 6501 2023-03-04 19:17:44 0:00:19 3850 build successful
13 3898 2022-12-19 19:12:31 0:00:53 733 build successful
12 12305 2022-01-10 12:41:05 0:00:43 3234 build successful
12.arm64 28711 2021-11-25 11:13:38 0:00:22 1591 build successful
11 2630 2020-11-27 13:25:58 0:01:41 293 build successful
11.arm64 1101 2020-11-22 13:27:31 0:00:31 280 build successful
10.5_ppc 88760 2019-01-03 5:56:14 0:03:06 20255 build successful