p5.32-autovivification (perl/p5-autovivification) Updated: 3 years ago 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

19 build(s) found
Builder Build Number Start Time Elapsed Time Watcher Build Status
14.arm64 8103 2024-01-19 2:13:21 0:00:11 4165 build successful
14 7133 2023-11-04 17:28:54 0:00:52 1287 build successful
13.arm64 6515 2023-03-04 19:22:06 0:00:10 3850 build successful
13 3904 2022-12-19 19:15:35 0:00:26 733 build successful
12 16165 2022-01-18 8:54:09 0:00:14 3655 build successful
12.arm64 17062 2021-11-16 8:36:06 0:00:22 1125 build successful
10.6 35667 2021-07-09 2:23:43 0:04:41 19744 build successful
10.10 147030 2021-06-27 23:59:17 0:01:00 46918 build successful
10.13 114993 2021-06-26 17:35:20 0:01:03 37796 build successful
10.6.x86_64 62392 2021-06-26 1:15:02 0:04:05 19284 build successful
10.9 151116 2021-06-23 19:18:12 0:01:01 46599 build successful
10.11 145612 2021-06-22 23:25:29 0:01:26 46851 build successful
10.12 150522 2021-06-22 17:28:10 0:01:11 45843 build successful
10.15 61988 2021-06-22 8:56:14 0:01:27 17499 build successful
10.14 90622 2021-06-22 6:18:27 0:01:17 28504 build successful
11 35438 2021-06-21 15:05:56 0:01:46 7308 build successful
10.7 57443 2021-06-21 6:10:16 0:01:00 19319 build successful
10.8 50898 2021-06-21 5:48:08 0:00:55 17181 build successful
11.arm64 23855 2021-06-21 0:07:01 0:00:28 7483 build successful