I need this info to decide which of the classes with a specific method is being called.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You use the ref builtin to determine the reference type or class of a variable:
More detail can be found with
Scalar::Util‘sreftype(always returns the container type) andblessed(always returns the class name) subroutines.