http://qs321.pair.com?node_id=1203681


in reply to Need a second set of eyes: Very odd failure

bless $self,"NCS::PupptDB::Data"; ^^ missing "e"

Update: Wow, stevieb and I posted within 2 seconds of another :-)

The usual pattern would be:

sub new { my $class = shift; my $self = {}; bless $self, $class; return $self; }

Makes subclassing easier (and avoids this typo ;-) )