Maybe you didn't pickup on
starX and
hipowl. The usual reason for such a message is that you don't have a subroutine called
new in your package. In Perl,
new is not a keyword or language construct, it is the name of the constructor method. Actually it can be called anything you like, not just 'new'.