package sample; sub new { bless {}, shift } package main; my $a = sample->new; use B; print B::class($a);
In reply to Re: How do I query the package name of an object?
by borisz
in thread How do I query the package name of an object?
by nmerriweather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |