in reply to sending mail without modules?

First of all, Net::SMTP is a core module, that should be installed whenever perl is installed. That said, your solution seems to be something like:
#!/usr/bin/perl use strict; use warnings; use Net::SMTP; my $smtp = Net::SMTP->new( Host => 'mailhost.from.com', Hello => 'thishost.from.com' ); $smtp->mail('from@from.com'); $smtp->to('to@to.com'); $smtp->data('this is the text of the message'); $smtp->quit;
[]s, HTH, Massa (κς,πμ,πλ)