I have this error when i try to insert some values into the database via perl script.
there is my code
Code:
sub addWords { my $self = shift; my $wordsRef = shift; my @words = \$wordsRef; my $language = Language->new(); my $classId = undef; my $wordId = undef; if (!@words || !$language){ die "addWords invalid arguments."; }