On Mon, Apr 2, 2012 at 11:35 PM, Jim Gibson <jimsgib...@gmail.com> wrote: > At 4:08 PM +0800 4/2/12, lina wrote: >> >> I wish there is an alternative way in linux without installing use >> Mail::Sendmail; >> >> on bash I used >> >> mail lina.lastn...@gmail.com < report.txt > > > If that works for you on your system, then just execute the same thing using > system: > > > system('mail lina.lastn...@gmail.com < report.txt');
Thanks. It's the one I was looking for. Thanks all for suggestions, Best regards, > > > Check 'perldoc -f system' for error checking methods. > -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/