in reply to use Shell
$sh->mail('-s', "hi", 'sharath@gmail.com') [download]
#!/usr/bin/perl use strict; use warnings; use Shell qw(mail); my $sh = Shell->new; mail('-d'); [download]