Can't call method "mail" on an undefined value at commit-email.pl

Hi.

I’ve a problem on one server with Virtualmin GPL.

When commit change to account with SVN repo, show message:

Aviso: post-commit hook failed (exit code 110) with output:
Can't call method "mail" on an undefined value at /usr/share/webmin/virtualmin-svn/commit-email.pl line 630.

On line 630

        handle_smtp_error($smtp, $smtp->mail($mail_from));

It’s a bug?

Howdy,

It’s possible that could happen if the Net::SMTP Perl module isn’t installed.

You can verify whether or not it’s installed by running this command:

perl -e "use Net::SMTP"

Which distro/version do you have?

-Eric

perl -e “use Net::SMTP” nothing on shell.

Distro Debian 7

libnet-smtp-ssl-perl package installed.

But all information about message point to mistake on code.

“Can’t call method “mail” on an undefined value at”