Do you know where your variables are? | |
PerlMonks |
Re: Moose: Can't call method "insertcount" on an undefined valueby choroba (Cardinal) |
on Sep 25, 2016 at 19:56 UTC ( [id://1172580]=note: print w/replies, xml ) | Need Help?? |
You forgot to call the committoDB method as a method:
$self was undef because of this, and $self->insertcount had to fail.
In Section
Seekers of Perl Wisdom
|
|