Perl: How to Upload a file using perl CGI
This is a tutorial on how to upload a file using perl CGI.
This is a tutorial on how to upload a file using perl CGI.
Below is a perl function that i wrote to print a HASH completely. What i mean by ‘completely’ is that it will expand all hashes and arrays found within the given HASH. sub print_hash { my ($hash,$str) = @_; while( my ($k, $v) = each %{$hash}) { print $str."$k => $v\n"; if( $v =~ /hash/i
Perl: Send an Email with attachment through Gmail SMTP
This is a tutorial on how to send an email with attachment via Gmail SMTP. Here i am using Email::MIME to create the email/message object. Email::Sender::Simple (sendmail) is used to send the mail with the help of secure transport provided by Email::Sender::Transport::SMTP::TLS. The sample script below sends an email with two attachments and a text/html
Read More