Class-Declare
    
    
  
  
  
view release on metacpan or search on metacpan
      }
    }
  }
  # create an anonymous hash reference for this object
  my    $ref                  = \%hash;
  my  ( $key )                =  ( $ref =~ m#0x([a-f\d]+)#o );
        $__OBJECTS__{ $key }  = $ref;
  # create the new object (applying the index offset)
  my  $obj   = bless \$key => $class;
  # if there were any arguments passed, then these will be used to
  # set the parameters for this object
  # NB: - only public attributes may be set this way
  #     - need to examine every class in the @ISA hierarchy
  #     - may override 'public attributes' with 'new' list in declare()
  my  $default  = sub {
                    ( defined $__NEW__{ $_[0] } )
                         ? @{ $__NEW__{ $_[0] } }
                         : map { @{ $_ } }
( run in 0.420 second using v1.01-cache-2.11-cpan-c333fce770f )