if (defined($commitvalue) && ($commitvalue == 1)) { print "Yes, commit! Commitvalue = $commitvalue\n"; $self->committoDB; # <- HERE } elsif ($counter == $self->commit) { $self->committoDB; # <- and HERE! }
$self was undef because of this, and $self->insertcount had to fail.
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
In reply to Re: Moose: Can't call method "insertcount" on an undefined value
by choroba
in thread Moose: Can't call method "insertcount" on an undefined value
by timtowtdi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |