$smtp = Net::SMTP -> new('mail.ffinfo.com') is failing so $smtp is not created. Have you got the address of the smtp server right?
As a general comment: you should use warnings; use strict;.
In reply to Re^5: Sending email in perl
by GrandFather
in thread Sending email in perl
by Eagle_f91
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |