> On Sat, Aug 8, 2015 at 1:18 PM, Marcos Barbeitos <msbarbei...@gmail.com> wrote:
> I get it to work. Not a very elegant solution, for I must access the attribute directly instead of using an accessor. No, instead of > return $self->{sequence}; you should do return $self->$orig(); to use the proper reader mechanism. > One issue still remains though, if I pass the argument to the constructor: > my $collection = DCSE::Collection->new > ( > id => 'test' > , sequence => $sequence > , helix => $dcse->helix > ); > > I believe that 'around' is not called, for I get the unparsed argument when I fetch the attribute. This should be fixed when you fix the code path for the reader as above.