in reply to Is there a way to find out what kind of ref an object is?

Here is our module, Hello.pm:

package Hello; use strict; sub new { my $class = shift; my $this = {}; return bless $this, $class; } 1;

And here we use this script:

use strict; use Hello; my $a = Hello->new(); print $a;

When the above is run, it gives:

Hello=HASH(0x225388)

..which is self-documenting. ;) Hope this helps!