__PACKAGE__->new() doesn't play as nicely with subclasses. ref($self)->new() is usually what you want.
In reply to Re^4: calling new inside the same module?
by tobyink
in thread calling new inside the same module?
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |