Hi Klaus, Have you tried this? ref $some_obj; # should give your class name as a string
Doubtless Uri will find something wrong with this 😋 On Thu, Sep 29, 2016, 12:34 PM Klaus Jantzen <[email protected]> wrote: > Hello, > > I have defined Moose-classes with various attributes. > > During the execution of a program that uses such a class I would like to > determine the data type of a specific attribute at the time I am using it. > > How can I do that? > -- > > K.D.J. > > > -- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > http://learn.perl.org/ > > >
