FACTOID # 155: Australia has more than 28 times the land area of New Zealand, but its coastline is not even twice as long.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Autovivification

Autovivification is an unusual feature of the Perl programming language having to do with the dynamic creation of data structures. Trying to access an element of a hash (associative array) or array that does not already exist creates both the hash or array, and all elements below the given index for the array.


This is in contrast to most other high level languages, in which you must explicitly create a given hash or array before you use it. This includes Python, PHP, JavaScript and all the C style languages.




  Results from FactBites:
 
Autovivification (643 words)
This article will explain autovivification and show you how to use it to be lazy.
Autovivification is when Perl automatically creates a reference when an undefined value is dereferenced.
One of the primary uses of autovivification is to assign lower level data before the higher level data exists.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m