Ÿë        È  È  ž         
»,             Ë‰    !          
Ì‰ a      a        &a       1a       >a       Ia        Ta    (   aa      ja        ta       ~a       ˆa       ’a      Ÿa        ©a       ³a      Áa        Êa       Óa       Üa       åa   „   óa        ÿa       b      b      #b       ,b        5b ¹ @   Bb ¹ `   Ob   „   ^b        ib      rb      |b       ˆb ¹     ’b    @    b      ‚  ¹     �]        ±b    @   ñ[  âL  €   ¹b      õ[         y&         Ãb      áb        ób !   @   ÿb   „   	c       c      :˜       c      *c      5c      @c      Hc      Vc      ec       }÷    @   Eø    `   ic    €   wc   T   c         „c       Žc Ù‰                ×‰       ”c      c         „c       ¢c       §c       «c   „  c         ·c      ®  Ü‰                        ¼c   Ä   c         y&         ®  Þ‰ @                    ¼   Äc     c         „c       y&         ®  Ü‰ @           c         Î÷ Ø‰     Ñc Ú‰     Ûc Û‰     ec Ý‰     ãc ß‰     ìc    à‰ ÷c    Vx ÿc    ä‰                  
   d   „   c         ·c      d   „   c         ·c      6d ã‰    ;d   „   c         ·c      ‡  â‰    Hd   „   c         ·c      6d ã‰    ^d   „   c         ·c      td â‰    ø    @   ~d    `  ‚d    a  ‰d    b  Žd   „   c         ·c      žd    
  ¢d      c         ¹d       ¾d   „   c        Ód      ×d      ·Â       Üd           
     c         çd å‰     ëd æ‰     5Ì ç‰     ïd è‰     ód ç‰     ÷d é‰     üd ê‰     e ë‰     e ì‰     e    í‰ e   „   ,e B       �š      9e      De      £�      Te       p	        Àæ    !  Q$    (   [$    0   šï    8   \e   „   ,e B       �š      9e      De      £�      Te       ne        ‹ê    @   fâ    `   we    p  Àæ    q  Q$    x         „$   „e B       œe      ¨e      ¶e      £�      ¿e       Íe        Üe    (   ìe    0   ûe    8  f    :  Àæ    ;  c:    =  f    >  f    ?  f    @   !f    H   0f    P   @f    X   Of    `   Wf    €   _f        hf ø  À   Q$       vf      |f    ñ‰       „    �f B       ¦f       °f       £�        ¼f    (  �T    ,  Çf    -  Àæ    .  Îf    0  ùr    4  a£     5  T'    6       7  Øf    8  Þf    9  Q$    :  äf C   @   ðf C   `   þf C   €   
g C       g C   À   'g C   à   8g    ó‰ Jg      [g B       lg       £�       Àæ        Q$    (   xg B   0            "         ­        È­     @   ÜZ     `   é  3   €   „g    ö‰ Žg 	  „   ¤g       ¬g      B1       £�      ºg      Äg      Ïg è     Ög    (   Ýg    0   ëg   „   =       £�      ög      Àæ è     h     òd  ø‰     j û‰ @              ù‰       h      £�        #h       Àæ       *h       <h        Dh    (   Xh    0   mh    8   Q$    @   �h    H   ‘h    P   ¢h    X       	  „   ²h        £�       Àæ       ×d       Ód    #  Äh    &  ·Â    (   Üd    0   Q$    8   Îh    ý‰ u•   „   æg  B       Úh      £�      íh      ñh       i   „   i       £�      ºg      $i    	  Àæ    
  2i       =i       Fi   ü  l  Š     _    @  \i    `  ŸÜ    €  4        �t     À                   è  fi      yi     ‚i    Œi    –i           á‰ ¥i      ‚  ¹     �] $       ±b Ó!  @   ñ[  îŽ  `          ô‰        Ó‰        Ö‰        ú‰        Ò‰        …d         ×‰        î‰            …d               ¹        ÷‰        ð‰         Š        ÿ‰        õ‰        ï‰        ò‰ ½i       Èi      5   ;ˆl–äY>”êj"T% ýÆœ¸ËŠbÑ¿�þDÔ¤Y²ÆàØÙ‘Ðùáƒ}§àÁÝ $ü    ;# NOTE: Derived from blib/lib/Class/MethodMaker/scalar.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Class::MethodMaker::scalar;

#line 50546 "blib/lib/Class/MethodMaker/scalar.pm (autosplit into blib/lib/auto/Class/MethodMaker/scalar/scal0076.al)"
#------------------
# scalar default - read_cb - tie_class - type - v1_compat

sub scal0076 {
  my $class  = shift;
  my ($target_class, $name, $options, $global) = @_;
  
  # options check ---------------------
  
  Class::MethodMaker::Engine::check_opts([qw/ static type typex forward
                                              default default_ctor
                                              read_cb store_cb
                                              tie_class tie_args
                                              key_create
                                              v1_compat v1_object
                                              _value_list
                                              /], $options);
  # type option
  my $type = $options->{type};
  croak "argument to -type ($type) must be a simple value\n"
    unless ! ref $type;
  
  # forward option
  my $forward = $options->{forward};
  my @forward;
  if ( defined $forward ) {
    if ( ref $forward ) {
      croak("-forward option can only handle arrayrefs or simple values " .
            "($forward)\n")
        unless UNIVERSAL::isa($forward, 'ARRAY');
      @forward = @$forward;
      print "Value '$_' passed to -forward is not a simple value"
        for grep ref($_), @forward;
    } else {
      @forward = $forward;
    }
  }
  
  # default options
  my ($default, $dctor, $default_defined, $v1object);
  if ( exists $options->{default} ) {
    croak("Cannot specify both default & default_ctor options to scalar ",
          "(attribute $name\n")
      if exists $options->{default_ctor};
    $default = $options->{default};
    $default_defined = 1;
  } elsif ( exists $options->{default_ctor} ) {
    if ( ! ref $options->{default_ctor} ) {
      my $meth = $options->{default_ctor};
      croak("default_ctor can only be a simple value when -type is in effect",
            " (attribute $name)\n")
        unless defined $type;
      croak("default_ctor must be a valid identifier (or a code ref): $meth ",
            "(attribute $name)\n")
        unless $meth =~ /^[A-Za-z_][A-Za-z0-9_]*/;
      $dctor = sub { $type->$meth(@_) };
      $v1object = $options->{v1_object}
        if $options->{v1_compat};
    } else {
      $dctor = $options->{default_ctor};
      croak(sprintf( "Argument to default_ctor must be a simple value or a code ref " .
                     " (attribute $name) (got '%s')\n", ref $dctor ) )
        if ! UNIVERSAL::isa($dctor, 'CODE');
    }
    $default_defined = 1;
  }
  
  # tie options
  my ($tie_class, @tie_args);
  if ( exists $options->{tie_class} ) {
    $tie_class =  $options->{tie_class};
    if ( exists $options->{tie_args} ) {
      my $tie_args =  $options->{tie_args};
      @tie_args = ref $tie_args ? @$tie_args : $tie_args;
    }
  } elsif ( exists $options->{tie_args} ) {
    carp "tie_args option ignored in absence of tie_class(attribute $name)\n";
  }
  
  # callback options
  my @read_callbacks = ref $options->{read_cb} eq 'ARRAY' ?
                        @{$options->{read_cb}}            :
                        $options->{read_cb}
    if exists $options->{read_cb};
  my @store_callbacks = ref $options->{store_cb} eq 'ARRAY' ?
                        @{$options->{store_cb}}             :
                        $options->{store_cb}
    if exists $options->{store_cb};
  
  # V1 Compatibility
  my ($list, $key_create);
  ($list, $key_create) = @{$options}{qw/ _value_list key_create/}
    if exists $options->{_value_list};
  
  # the method definitions ------------
  
  
  # Predefine keys for subs we always want to exist (because they're
  # referenced by other subs)
  my %names = map {; $_ => undef } qw( * );
  
  
  my %methods =
  
  
    ( '*'        => sub : method {
               my $z = \@_;   # work around stack problems
                      if ( @_ == 1 ) {
  
                        if ( $v1object and ! exists $_[0]->{$name} ) {
                          $_[0]->{$name} = $dctor->();
                        }
  
                        tie $_[0]->{$name}, $tie_class, @tie_args
                          unless exists $_[0]->{$name};
                        if ( ! exists $_[0]->{$name} ) {
                          for ($default) {
                            croak(sprintf("Incorrect type for attribute $name: %s\n" .
                                          "  : should be '