Help for this page

Select Code to Download


  1. or download this
    6.  References of the appropriate type can spring into existence if yo
    +u
        dereference them in a context that assumes they exist. Because we
        haven't talked about dereferencing yet, we can't show you any
        examples yet.
    
  2. or download this
    3.  Subroutine calls and lookups of individual array elements arise
        often enough that it gets cumbersome to use method 2. As a form of
    ...
        `{"foo"}' in it. Likewise `$array[$x]->{"foo"}' will automatically
        get defined with an array reference so that we can look up `[0]' i
    +n
        it. This process is called *autovivification*.