Currently, I am passing a construction method to all objects that extend one of my base classes. The problem I am facing is that I need all objects to either read the attribute of themselves or be passed to the value.
# In Role: has 'const_string' => ( isa => 'Str', is => 'ro', default => 'test', ); has 'attr' => ( isa => 'Str', is => 'ro', builder => '_builder', ); requires '_builder';
Is this possible now or will I have to do it differently?
perl moose
lespea
source share