On 27 March 2015 at 11:23, Diab Jerius <djer...@cfa.harvard.edu> wrote:
> > $ perl tst2 > b1 > Use of uninitialized value in say at tst2 line 30. > > In tst2, if I explicitly initialize the attribute from the second class: > > my $q = C11->new( b2 => 'BBB' ); > > It is still output as uninitialized. > > Would someone please point out what I'm missing? > > Thanks, > > Diab Seems if you make your accessors lazy, then it works. Which implies something is weird in construction. -- Kent *KENTNL* - https://metacpan.org/author/KENTNL