in reply to Re^2: A Class inside a Perl script?
in thread A Class inside a Perl script?

Why is it taking the name of the package as "Person" instead of "test"?

You are given the class name for bless as "Person" thats why .

bless $self, 'Person';
Vinoth,G