p5.30-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

16 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
14.arm64 8097 2024-01-19 2:12:08 0:00:10 4165 build successful
14 7128 2023-11-04 17:25:23 0:00:56 1287 build successful
13.arm64 6508 2023-03-04 19:20:25 0:00:13 3850 build successful
13 3901 2022-12-19 19:14:18 0:00:30 733 build successful
12 16151 2022-01-18 8:45:14 0:00:16 3655 build successful
12.arm64 28717 2021-11-25 11:18:25 0:00:22 1591 build successful
10.6 23223 2021-01-04 21:25:34 0:05:40 13627 build successful
11 3991 2020-12-01 7:39:15 0:01:47 293 build successful
11.arm64 1474 2020-11-22 20:21:18 0:00:32 280 build successful
10.15 13435 2019-12-15 16:03:05 0:02:24 1334 build successful
10.13 66548 2019-10-12 5:10:00 0:01:40 19155 build successful
10.12 101261 2019-10-11 11:51:19 0:01:50 27176 build successful
10.14 40875 2019-10-11 11:14:15 0:01:47 9871 build successful
10.11 96779 2019-10-11 11:03:13 0:01:30 28195 build successful
10.10 97414 2019-10-11 10:09:19 0:01:45 28237 build successful
10.9 100125 2019-10-11 5:40:51 0:01:05 28181 build successful