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 <k.d.jant...@mailbox.org>
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: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to