Help for this page

Select Code to Download


  1. or download this
    my %property_hash = (
      emmisive => 'emmisiveColor',
    ...
      }
    }
    EOR
    
  2. or download this
      $prop_string .= $key . ' ' . 
        ( @{$properties{ $key }} || @{$prop_def{ $key }} ) . "\n"
    
  3. or download this
    sub code {
       my %hash = %{ shift() };
       my $value = $hash{ 'expected' } || $const_def_hash{ 'expected' };
    }
    
  4. or download this
    sub code {  # scalar, array ref, hash ref
       my $data = shift;
       my @array = @{ shift() };
       my %hash = %{ shift() };
    }