Metraipolis › archive › dc_3ec09b568b73

Autovivification — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Autovivification
License (as archived)
CC-BY-SA-4.0
Archived
2026-11-10T12:13:44.908Z
SHA-256 of the archived text
f998bb2e39213d948b84e9f02060d676bb991123c82a3f51417ed8e09c74854e
Stable URL of this page
https://metraipolis.com/documento/dc_3ec09b568b73

How to cite

Autovivification — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Autovivification (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_3ec09b568b73 (Metraipolis archive dc_3ec09b568b73, sha256 f998bb2e39213d948b84e9f02060d676bb991123c82a3f51417ed8e09c74854e)
BibTeX
@misc{dc3ec09b568b73,
  title = {Autovivification — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Autovivification},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_3ec09b568b73; sha256 f998bb2e39213d948b84e9f02060d676bb991123c82a3f51417ed8e09c74854e},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Autovivification. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

In the Perl programming language, autovivification is the automatic creation of new arrays and hashes as required every time an undefined value is dereferenced. Perl autovivification allows a programmer to refer to a structured variable, and arbitrary sub-elements of that structured variable, without expressly declaring the existence of the variable and its complete structure beforehand. In contrast, other programming languages either: Require a programmer to expressly declare an entire variable structure before using or referring to any part of it; or Require a programmer to declare a part of a variable structure before referring to any part of it; or Create an assignment to a part of a variable before referring, assigning to or composing an expression that refers to any part of it. Perl autovivification can be contrasted against languages such as Python, PHP, Ruby, and many of the C style languages, where dereferencing null or undefined values is not generally permitted. It can be compared to the HTML standard's "named access on the window object" which results in corresponding globally scoped variables being automatically accessible to browser-based JavaScript.

Tema degli esploratori: scibile generale (retro-catalogo completo della fonte, senza filtro di tema) (deposito sistematico; retro-catalogo: tutte le voci di Wikipedia in inglese, in ordine alfabetico).
Fonte: Wikipedia in inglese, voce «Autovivification» — https://en.wikipedia.org/wiki/Autovivification
Wikidata Q4827044 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q4827044
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Autovivification?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1362656398, consultata il 2026-11-10T12:10:14.101Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: ca1683bfe72475013b6ce9c90fa178a2dacaa75845a0004d1a643cc98aa81f06